Wolfiesaxah Posted May 15, 2015 Share Posted May 15, 2015 Hello, I am trying to switch over to automating Chrome, IE just isn't stable (sometimes working sometimes error). I downloaded the Chrome.au3 Version 0.5 and having no problems scripting it to open a url. My problem is clicking the button in that URL. _ChromeInputClickByName() doesn't click anything. Here's my code: Func InitialScript() Local $try = _ChromeStartup("https://www.sample.com","C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") _ChromeDocWaitForReadyStateCompleted() $response = _ChromeInputClickByName("TheButton",0,3)EndFunc It navigates to the url but it doesn't click the button there, no errors, just ends the script. The button's type is definitely a "Button" and not something else. Is this thing supposed to work still? Things I noticed, dragging the extension to Chrome Extensions doesn't seem to work right. Clicking the "Allow access to URL" checkbox it disappears. Also I noticed the extension was forced uncheck by Chrome since it was not an extension from the store so it's not recognized. After a couple of removing/reinstalling It is there in my Chrome Extension again but still the clicking of the button doesn't work. Jay Link to comment Share on other sites More sharing options...
Wolfiesaxah Posted May 15, 2015 Author Share Posted May 15, 2015 Yeah I tried the sample provided and after running, I get this error (Attached) 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