feat(webktt): explicitly enable Playwright domain on start (#2315)

This commit is contained in:
Yury Semikhatsky 2020-05-21 08:44:57 -07:00 committed by GitHub
parent b1c15e4539
commit 9154f4b6e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"browsers": [
{
"name": "webkit",
"revision": "1238"
"revision": "1241"
}
]
}

View file

@ -10,7 +10,7 @@
},
{
"name": "webkit",
"revision": "1238"
"revision": "1241"
}
]
}

View file

@ -38,7 +38,7 @@ export class WKBrowser extends BrowserBase {
static async connect(transport: ConnectionTransport, options: BrowserOptions): Promise<WKBrowser> {
const browser = new WKBrowser(SlowMoTransport.wrap(transport, options.slowMo), options);
// TODO: add Playwright.enable to test connection.
await browser._browserSession.send('Playwright.enable');
return browser;
}