Skip to content

Instantly share code, notes, and snippets.

@ainsofs
Created January 20, 2025 02:14
Show Gist options
  • Save ainsofs/baa2d9eb81395f00650aa9cd3890e2f2 to your computer and use it in GitHub Desktop.
Save ainsofs/baa2d9eb81395f00650aa9cd3890e2f2 to your computer and use it in GitHub Desktop.
Make screenshot window bigger
// make screenshot window bigger using https://git.drupalcode.org/project/dtt
$session = $this->getSession();
$session->resizeWindow(1920, 1080); // Full HD resolution
$this->captureScreenshot($tp->id());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment