I am attempting to write a fixture that will choose between CDP or browser based on a config file. It does work, except it looks like baseURL
from the config file isn't carried over to the newly created browser page (line 22: await browser.newPage()). How can I get the context to still use what's in the config file?
This thread is trying to answer question "How can I get the context to still use what's in the config file when creating a new browser page?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].