Open jess-x opened 3 years ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Googled around and found a lot of similar reports. No solution, apart maybe on microsoft/playwright#5443
pip3 install playwright==1.8.0a1
and npm install playwright,then it worked. Playwright does not support chromium on mac11.2 ,which is sloved. python3 -m playwright codegen --target python -o new.py -b chromium
:
from playwright.sync_api import sync_playwright
def run(playwright):
browser = playwright.chromium.launch(headless=False)
... or try upgrading to the latest pre-release version.
It looks like we are currently pinning playwright to an old version, 1.3.0: https://github.com/jupyterlab/benchmarks/blob/ae6dece2a5615b1965312699c37c6b518e41e17b/packages/run/package.json#L20
Hopefully if we upgraded playwright to the latest, then this might be fixed.
EDIT: Nevermind, it still doesn't work on 1.13.0, the latest version.
Ah maybe if we pin to @next
instead? https://github.com/microsoft/playwright/issues/7555#issuecomment-879250587
I tried pinning to next
, this:
throw new Error(`Failed to download ${title}, caused by\n${e.stack}`);
^
Error: Failed to download webkit v1522, caused by
Error: Download failed: server returned code 404. URL: https://playwright.azureedge.net/builds/webkit/1522/webkit-mac-11.0-arm64.zip
sounded like arm-64 is not supported, maybe someone with non arm-64 can help run the benchmarks?
UnhandledPromiseRejectionWarning: Error: ERROR: Playwright does not support chromium on mac11.5
Cross-referencing that one: https://github.com/microsoft/playwright/issues/7723 For a potential work around using docker if it gets resolved.
I tagged it as won't fix as it requires some work upstream.
Description
Error when trying to run
jlpm
Reproduce
jlpm
Expected behavior
benchmarks should be started without Playwright issue
Context
Troubleshoot Output
Command Line Output
Browser Output