I've implemented Playwright alongside Selenium in a test automation framework, and we instantiate all of our browsers through Selenium Grid (if possible). I have a requirement to save the session id in case I needed to later kill the automation by session id during the run.
I poked around in the typescript and saw Playwright does log the session id in the _launchWithSeleniumHub method in chromium.ts, so I was wondering if the that is something that can be more easily exposed?
Also, is there a way I can access the Playwright logs stream in general (outside of errors) via C#?
I've implemented Playwright alongside Selenium in a test automation framework, and we instantiate all of our browsers through Selenium Grid (if possible). I have a requirement to save the session id in case I needed to later kill the automation by session id during the run.
I poked around in the typescript and saw Playwright does log the session id in the _launchWithSeleniumHub method in chromium.ts, so I was wondering if the that is something that can be more easily exposed?
Also, is there a way I can access the Playwright logs stream in general (outside of errors) via C#?