Connect to already running instance of Firefox using Selenium
Posted: 21 Oct 2019, 03:54
Hi,
Using the following command we can connect to the already running instance of Chrome (in debug mode). Is there any way to achieve the same thing for Firefox?
Thanks!
Using the following command we can connect to the already running instance of Chrome (in debug mode). Is there any way to achieve the same thing for Firefox?
Code: Select all
ChromeGet(IP_Port := "127.0.0.1:9222") {
driver := ComObjCreate("Selenium.CHROMEDriver") ;Chrome driver
driver.SetCapability("debuggerAddress", IP_Port)
driver.Start()
return driver
}
driver := ChromeGet()