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
get process of a running browser #315
Comments
@mxschmitt Is there any resolution for this?
|
@Zunaira518 are you running inside Docker? Make sure to use |
@mxschmitt Adding --init fixed the issue. Thankyou for quick reply :) |
I need to monitor energy consumption of a browser (for exemple chromium) testing multiples pages of the database. I want to use django to runnings my tests concurently using playwright to automate the browser testing (i've already use it a little using the JS api), but the tool i use to monitor energy consumption watch a cgroup where the runing process of the browser need to be added. For this purpose, i've checked on the internet if it's possible to get the PID of a browser using PW and it's seem possible using
https://stackoverflow.com/questions/62376437/get-pid-of-a-browser-launched-with-playwright
But i don't found a way to retrieve this information in playwright-go due to the fact that pw.Chromium don't have a function LauchServer and i've don't found an equivalent.
The text was updated successfully, but these errors were encountered: