Akos Posted August 22, 2021 Share Posted August 22, 2021 (edited) 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 August 22, 2021 by Jos removed the black background Link to comment Share on other sites More sharing options...
Danp2 Posted August 22, 2021 Share Posted August 22, 2021 This would appear to be an issue with geckodriver or selenium, not AutoIt. I see that you've already opened an issue on the geckodriver github repo. Have you tried asking the Selenium folks? WebDriver UDF [GH&S] Latest version Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now