-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any Docs dedicated for playwright-core?[Question] #3099
Comments
Thanks @dllmkdir. Can you help us understand your needs better? playwright-core is meant to be an implementation detail and we expect playwright and/or playwright-chromium to fulfill such needs. A few questions that I'd love your input on:
We should be able to suggest a solution based on your answers – and also update the docs. Thanks for your time! The |
@arjun27 of course. The reason of using The desired escenario could be bundling all this folders in a zip:
also, myexe.exe is already able to point to the external playwright module. The reason to do this is because EACCES Error still appears even after executing the chmod +x '/Users/dllmkdir/Documents/Chromium.app' drwxr-xr-x 3 dllmkdir staff 96 Jul 22 18:27 Chromium.app For the test I am making, The procedure to extract the current Chromium.app from playwright was going to the following path:
|
Hey guys, I found the problem regarding to the Here is the fix for executablePath for macOSX: import playwright from 'playwright'
let playwrightBrowser = playwright['chromium']
let browser = await playwrightBrowser.launch({
headless,
args: [
'--disable-gpu',
'--no-sandbox',
'--single-process',
'--disable-setuid-sandbox',
'--disable-web-security',
'--disable-dev-profile',
],
//point to executable not to .app folder
executablePath: '/Users/dllmkdir/Documents/Chromium.app/Contents/MacOS/Chromium',
}) |
I would like to use playwright-core with a Custom Chromium version, but the implementation details are not very clear.
I dont know if playwright-core take instantly any installed version of Chromium in my system.
Also, I am not sure if I can create a
.local-chromium/Chromium.app
folder innode-modules/playwright
and it will instantly take this by default.This is my code:
I got some errors when I run this:
And when I use
import playwright from 'playwright'
this error shows up:I am using MacOSX10.15.5 and playwright-core 1.2.1
The text was updated successfully, but these errors were encountered: