Update SKILL.md
This commit is contained in:
@@ -418,7 +418,7 @@ Always use `scale: 'css'` to avoid 2-4x larger images on high-DPI displays:
|
|||||||
await page.screenshot({ path: 'shot.png', scale: 'css' });
|
await page.screenshot({ path: 'shot.png', scale: 'css' });
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to read back the image file into context make sure to resize it first, scaling down the image to make sure max size is 1500px. for example with `sips --resampleHeightWidthMax 1500 input.png --out output.png` on macOS
|
If you want to read back the image file into context make sure to resize it first, scaling down the image to make sure max size is 1500px. for example with `sips --resampleHeightWidthMax 1500 input.png --out output.png` on macOS.
|
||||||
|
|
||||||
## page.evaluate
|
## page.evaluate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user