Automate Chromium Based browsers with selenium?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
letacio
Posts: 48
Joined: 08 Mar 2018, 16:05

Automate Chromium Based browsers with selenium?

14 Jan 2020, 18:26

Hello there!

I would like to automate a browser (Imnsoniac browser) with Selenium Basic, instead of OCR + clicks/keys navigation.

I understand that if chromium is base for chrome, i might be able use chrome webdriver to do it?
Is my logic correct? I wish it was, but i'm not sure on how this kind of stuff work.

Could anyone tell me if it's possible, or HOW to check if it is possible?

I've tried doing regular selenium aproach, changing the .exe file executed to the insomniac browser. But looks like it does not have the ports or "debug modes" that would make that possible!

Code i have now:

driver:= ComObjCreate("Selenium.WebDriver")
driver.setBinary("path_to_file\insomniac.exe")
driver.addArgument("start-maximized")
driver.Start("chrome","http://www.uol.com.br/")
driver.Get("/")

It opens the browser but after some time gives me an error like this:
"WebDriverException: unknown error: DevToolsActivePort file doesn't exist"

Thanks for the help!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Draken, Google [Bot], oktavimark and 388 guests