Jump to content
Sign in to follow this  
Wolfiesaxah

Chrome au3 doesn't work?

Recommended Posts

Wolfiesaxah

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

Share this post


Link to post
Share on other sites
Wolfiesaxah

Yeah I tried the sample provided and after running, I get this error (Attached)

 

 

Capture.JPG

Share this post


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
Sign in to follow this  

×