Uses 64664K of libraries. Click here for Pure Java version (3261L/18K).
1 | !include once #1032300 // Playwright |
2 | |
3 | static BufferedImage playwrightScreenshot(Page page, double delay default 1.0) {
|
4 | sleepSecondsVerbose(delay); |
5 | ret imageFromBytes(page.screenshot()); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032456 |
| Snippet name: | playwrightScreenshot |
| Eternal ID of this version: | #1032456/3 |
| Text MD5: | 3752673ccb857f7b1f8da258de3fbdc0 |
| Transpilation MD5: | b46a31920a540505f04012a8d1500554 |
| Author: | stefan |
| Category: | javax / playwright |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-07 16:34:43 |
| Source code size: | 196 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 363 / 474 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |