Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20 from qawolf/update-pw
Browse files Browse the repository at this point in the history
update to playwright 1.0
  • Loading branch information
jperl authored May 6, 2020
2 parents 44c3c7a + d5079c1 commit c51ced7
Show file tree
Hide file tree
Showing 4 changed files with 1,782 additions and 940 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,11 @@ const { saveVideo } = require('playwright-video');

(async () => {
const browser = await chromium.launch();

const context = await browser.newContext();

const page = await context.newPage();

await saveVideo(page, '/tmp/video.mp4');

await page.goto('http://example.org');

await page.click('a');

await browser.close();
Expand Down
Loading

0 comments on commit c51ced7

Please sign in to comment.