[BUG] Doesn't work with mac10.13
See original GitHub issueContext:
- Playwright Version: 0.14.0-next.1587663620223
- Operating System: Mac 10.13.6 (17G2208)
- Node: 12.16.2
Code Snippet
const {chromium} = require('playwright');
(async () => {
const browser = await chromium.launch();
// ...
})();
Describe the bug
When running the above simple example, I get this error:
Error: Unsupported platform for webkit: mac10.13
at Object.assert (/Users/tim/code/example/node_modules/playwright-core/lib/helper.js:288:15)
at Object.executablePath (/Users/tim/code/example/node_modules/playwright-core/lib/server/browserFetcher.js:130:14)
at downloadOptionsFromENV (/Users/tim/code/example/node_modules/playwright-core/download-browser.js:45:36)
at Object.<anonymous> (/Users/tim/code/example/node_modules/playwright/index.js:25:37)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1042:19)
at require (internal/modules/cjs/helpers.js:77:18)
As in my understanding, https://github.com/microsoft/playwright/pull/1549 should have fixed this, I guess it’s unintended behavior, therefore a bug.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
ERROR: Playwright does not support webkit on mac10.13
According to https://github.com/microsoft/playwright/issues/1941 You can still install playwright, but only Firefox and Chrome are supported ...
Read more >845267 - Flaky failure on Mac10.13: http/tests/inspector ...
Issue 845267: Flaky failure on Mac10.13: http/tests/inspector-protocol/page/page-lifecycleEvents.js ... Now that synchronization issues have been fixed on MacOS,
Read more >macOS 10.13, 10.14 and 10.15: Video functionality not enabled
This issue has been raised by DisplayLink to Apple with bug ID 33133825. Once the user approval has been granted, following installations of...
Read more >Xcode want install on high Sierra 10.13.6 - Apple Developer
I'm trying to install Xcode on High Sierra 10.13.6 and I'm having problems doing so. I'm getting error that I need to upgrade...
Read more >Kernel Panic on Mac: 10 Pro Tips to Fix Mac Keeps Restarting ...
You are in the middle of some serious work, and suddenly an error ... And when the Mac fails to handle the issue,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If anyone else ever comes across this, simply run:
The problem is that webkit doesn’t support 10.13 anymore. skipping browser installation will fix the issue, however since i had ran the install command previously firefox and chromium was installed and failed on webkit, so skipping the browser installation second time worked since webkit won’t get downloaded.
@Pezhvak, v1.4.2 was just released with the fix