playwright
Advanced tools
Comparing version 0.11.1-next.1583993157193 to 0.11.1-next.1584409672845
{ | ||
"name": "playwright", | ||
"version": "0.11.1-next.1583993157193", | ||
"version": "0.11.1-next.1584409672845", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -15,4 +15,4 @@ "repository": "github:Microsoft/playwright", | ||
"dependencies": { | ||
"playwright-core": "=0.11.1-next.1583993157193" | ||
"playwright-core": "=0.11.1-next.1584409672845" | ||
} | ||
} |
@@ -104,3 +104,3 @@ # Playwright | ||
This code snippet sets up network interception for a WebKit page to log all network requests. | ||
This code snippet sets up request routing for a WebKit page to log all network requests. | ||
@@ -116,5 +116,5 @@ ```js | ||
// Log and continue all network requests | ||
page.route('**', request => { | ||
console.log(request.url()); | ||
request.continue(); | ||
page.route('**', route => { | ||
console.log(route.request().url()); | ||
route.continue(); | ||
}); | ||
@@ -121,0 +121,0 @@ |
14117