Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion driver/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,21 @@
*/

const path = require('path');
const fs = require('fs');
const os = require('os');
const util = require('util');

(async () => {
if (os.platform() === 'win32') {
const checkDbPath = path.join(__dirname, 'node_modules', 'playwright', 'bin', 'PrintDeps.exe')

const content = await util.promisify(fs.readFile)(checkDbPath);
const output = path.join(os.tmpdir(), 'ms-playwright-print-deps.exe')
await util.promisify(fs.writeFile)(output, content)

process.env.PW_PRINT_DEPS_WINDOWS_EXECUTABLE = output
}

(async() => {
if (process.argv.includes('install')) {
await require('playwright/lib/install/installer').installBrowsersWithProgressBar(path.dirname(process.argv[0]));
return;
Expand Down
2 changes: 1 addition & 1 deletion driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"playwright": "1.2.0-next.1596151449209"
"playwright": "1.3.0-next.1596659749397"
},
"devDependencies": {
"pkg": "^4.4.9"
Expand Down
2 changes: 1 addition & 1 deletion playwright/drivers/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"name": "webkit",
"revision": "1319",
"revision": "1322",
"download": true
}
]
Expand Down
2 changes: 1 addition & 1 deletion tests/async/test_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ async def test_wait_for_nav_should_respect_timeout(page, server):
# assert f'navigated to "{server.EMPTY_PAGE}"' in exc_info.value.message


@pytest.mark.skip_browser("webkit")
@pytest.mark.skip("TODO: needs to be investigated, flaky")
async def test_wait_for_nav_should_work_with_both_domcontentloaded_and_load(
page, server
):
Expand Down