3 ms·
Can you attach it to an existing browser window/session that is already open? Ie. I navigate and authenticate to a site, run code, and it continues from there w
by shostack 7y ago
Can you attach it to an existing browser window/session that is already open? Ie. I navigate and authenticate to a site, run code, and it continues from there with what's on screen?
- lostintangent 7y agoPlaywright allows you to connect to existing browser instances, but it currently requires you to get the “debug URL” of the browser instance first: https://github.com/microsoft/playwright/blob/v0.11.1/docs/api.md#browsertypeconnectoptions https://github.com/microsoft/playwright/blob/v0.11.1/docs/ap.... I’d love to hear a bit more about the scenario you have in mind, since that might help inform some improvements we can make. Thanks!
- shostack 7y agoThe issue I'm having with Selenium (well, Watir with Ruby) is booting up some automated scraping logic for a page that may be in my current session once I've done the whole authentication dance manually (so I don't have to focus on automating that piece initially).