Jump to content

GeckoDriver is unable to execute AutoIT script


Recommended Posts

I use WebDriver with GeckoDriver 0.29.1. When I try to execute AutoIT script, I get following error:

JavaScript error: resource:///modules/Interactions.jsm, line 209: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver] JavaScript error: chrome://remote/content/marionette/cert.js, line 55: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICertOverrideService.setDisableAllSecurityChecksAndLetAttackersInterceptMyData]

org.openqa.selenium.NoSuchWindowException: Browsing context has been discarded

Same code is working well with use of chromedriver:

        String autoITExecutable = "C:\\util\\filechooser.exe \"" + fileSource + "\"";
        try {
            Runtime.getRuntime().exec(autoITExecutable);
        } catch (IOException e) {
            e.printStackTrace();
        }
Edited by Jos
removed the black background
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...