Skip to content

Selenium COM Timeout when script Built from within Sublime #68

Open
@YMan84

Description

@YMan84

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions