Jump to content


chrome automation - chrome.au3 ?

  • Please log in to reply
11 replies to this topic

#1 Alterlife



  • Active Members
  • 6 posts

Posted 15 February 2010 - 12:15 PM

I would like to know how I can get the equivalent of ie.au3's functionality for chrome... and I'm lost.

I've got the classname for the HTML Rendering window, but how do I access the controls created under it by each page?

I don't even know where to start, so any thing to get me on my way would be useful.

#2 PsaltyDS


    Most Venerable Penguin

  • MVPs
  • 13,279 posts

Posted 16 February 2010 - 07:05 PM

We have the great IE.au3 UDF because Microsoft chose to expose a COM interface to the DOM in IE, and Dale put a very usable AutoIt function wrapper on that.

There is a FF.au3 UDF for Firefox only because you can install a plug-in for FF that exposes a COM interface that is not normally there.

So, the question is: Does Chrome expose a COM interface, or allow a plug-in that will? The question would be the same if you want to use AutoIt scripting with Safari, Opera, etc. What API does it expose that AutoIt can use?

  • justdoit123 likes this
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

#3 Mat


    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 5,092 posts

Posted 16 February 2010 - 07:16 PM

Its open source. Anyone wanna go digging?

#4 Alterlife



  • Active Members
  • 6 posts

Posted 17 February 2010 - 07:37 AM

Ouch! That's too bad :mellow: .

I did a few google searches for "Chrome COM", "Webkit COM" etc, there's nothing that I can find... I guess this means I'm sticking to automating ie!

Thanks for your help!

#5 JohnOne


    Number #1

  • Active Members
  • PipPipPipPipPipPip
  • 14,327 posts

Posted 17 February 2010 - 09:44 AM

Way over my head this sort of stuff, but found this.

ChromeWatir has an API similar to Watir and used to drive Google Chrome browser. As of now it works in Windows platform. The support for other platforms will be worked on once Chrome browser gets ported to other platforms like Linux and OSX.


AutoIt Absolute Beginners    Require a serial    Pause Script    


Monkey's are, like, natures humans.

#6 doccy



  • Active Members
  • 7 posts

Posted 03 March 2010 - 05:14 PM

found this

#7 ProgAndy


    You need AutoItObject

  • MVPs
  • 2,508 posts

Posted 03 March 2010 - 05:34 PM

Maybe this is useful for you http://bitbucket.org/kzys/chrome-repl/wiki/Home
(works similar to MozRepl which is used in FF.au3)
*GERMAN* Posted Image [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

#8 atzoref



  • Active Members
  • PipPipPip
  • 189 posts

Posted 22 April 2013 - 08:36 AM

There is some updates on this issue? Someone maybe created an *.au3 file for Chrome?

Because I have some problems with the FF.au3

and IE is very slow.


#9 water



  • MVPs
  • 16,678 posts

Posted 22 April 2013 - 08:54 AM

As far as I know ther is no UDF for Chrome right now.
My UDFs and Tutorials:


#10 MouseSpotter



  • Active Members
  • PipPip
  • 137 posts

Posted 22 April 2013 - 09:00 AM

My current view is that Google does not trust external access to Chrome, refuses to expose the DOM to external programs and therefore requires the user to install a plugin for each application.
I strongly doubt that the NPAPI even allows exposure to external programs.
Annoying as it is to have this restriction - it does make the browser more secure.

#11 FireFox


    It slips through our fingers, like a fist full of sand.

  • MVPs
  • 5,393 posts

Posted 22 April 2013 - 09:29 AM

Well I have tried two times to make a library for this, but hit a wall each time. I don't have the faith to try again.

[color=rgb(105,105,105);]OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.[/color]

[color=rgb(105,105,105);]Hardware : Intel® Core™ i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.[/color]

[color=rgb(0,128,0);]My UDFs :[/color] Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

[color=rgb(0,128,0);]My Projects :[/color] YouTube Multi-downloader[color=#b22222;] [/color]| FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | [color=rgb(105,105,105);]Chrome theme maker[/color]

[color=rgb(0,128,0);]My Examples :[/color] Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

[color=rgb(0,128,0);]My Snippets :[/color] Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

[color=rgb(128,128,128);]Updated 07 November, 2013 - [/color][color=rgb(178,34,34);]If you find dead links please send me a PM, do not post in the topics ![/color]

#12 junkew



  • Active Members
  • PipPipPipPipPipPip
  • 866 posts

Posted 24 April 2013 - 08:19 PM

Search for ui automation in the forum. Chrome supports accessibility. And ui automation can be done thru autoit.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users