I've just used Laravel Dusk to test a javascript site.
Want to reuse the current browser with its session and cookies for some reason (keep me logged in on the site), so I don't need to pass auth process.
Any way to reuse the current browser?
I've already searched about this, but I found no practical info/example. Note: I use Dusk by default with Google Chrome and a standalone ChromeDriver (not Selenium)
I had the same requirement using Laravel Dusk. The trick is to use the Facebook/WebDriver/Remote/RemoteWebDriver class and its manage() method.
Pseudo code: