Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium COM Timeout when script Built from within Sublime #68

Open
YMan84 opened this issue Aug 19, 2020 · 0 comments
Open

Selenium COM Timeout when script Built from within Sublime #68

YMan84 opened this issue Aug 19, 2020 · 0 comments

Comments

@YMan84
Copy link

YMan84 commented Aug 19, 2020

I'm running into a really strange bug that i can't figure out.

I recently made the switch from AHKStudio to Sublime.
I use Selenium to automate Chrome with Autohotkey, and when i try to build a selenium script using the default build system within Sublime i get a:
TimeOut Error
"The driver failed to open the listening port 127.0.0.1:14198 within 10s
Screenshot

The script runs fine if i execute it within AHKStudio, or if i navigate to it in windows explorer and run it, or if i pass it as a parameter to the Autohotkey Executable through CMD.
It's something within Sublime that is causing it to fail, and i'm not sure what could possibly be causing it.

Sample Code:

driver:= ComObjCreate("Selenium.CHROMEDriver") ;Select and Create Chrome driver instance
driver.Get("https://duckduckgo.com/") ;Open selected URL
driver.executeScript("return document.readyState").equals("complete") ; wait until page loads completely before proceeding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant