Skip to content

Commit

Permalink
chore: update out of date information
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan committed Aug 14, 2023
1 parent 875cbc0 commit 5ca0dd2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,5 @@ const screenshot = await page.screenshot();
Deno.writeFileSync("screenshot.png", screenshot);

// Close the browser
browser.close();
await browser.close();
```

## TODO

- [ ] FileChooser API
- [ ] Dialog API
- [ ] Test it on FF
2 changes: 1 addition & 1 deletion docs/pages/examples/screenshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const screenshot = await page.screenshot();
Deno.writeFileSync("screenshot.png", screenshot);

// Close the browser
browser.close();
await browser.close();
```

## Result
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const screenshot = await page.screenshot();
Deno.writeFileSync("screenshot.png", screenshot);

// Close the browser
browser.close();
await browser.close();
```

You can run this from the command line using:
Expand Down
2 changes: 1 addition & 1 deletion examples/evaluate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ const value = await page.evaluate(() => {
console.log(value);

// Close the browser
browser.close();
await browser.close();
2 changes: 1 addition & 1 deletion examples/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ const screenshot = await page.screenshot();
Deno.writeFileSync("screenshot.png", screenshot);

// Close the browser
browser.close();
await browser.close();

0 comments on commit 5ca0dd2

Please sign in to comment.