Skip to content

Commit 676115e

Browse files
update code example
1 parent f3ad87b commit 676115e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ async function runTests() {
470470
// Take screenshots
471471
const screenshots = await tb.takeScreenshot(
472472
'https://testingbot.com',
473-
['chrome', 'firefox'],
474-
5000
473+
[{ browserName: 'chrome', version: 'latest', os: 'WIN11' }],
474+
'1280x1024'
475475
);
476476
console.log('Screenshots:', screenshots);
477477

0 commit comments

Comments
 (0)