Sign in to follow this  
Followers 0

chrome automation - chrome.au3 ?

12 posts in this topic

#1 ·  Posted

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted

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?

:mellow:

1 person 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

Share this post


Link to post
Share on other sites

#3 ·  Posted

Its open source. Anyone wanna go digging?

Share this post


Link to post
Share on other sites

#4 ·  Posted

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!

Share this post


Link to post
Share on other sites

#5 ·  Posted

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.

http://wiki.openqa.org/display/WTR/ChromeWatir


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#6 ·  Posted

found this

http://dev.chromium.org/developers/design-documents/extensions/gleam-api

Share this post


Link to post
Share on other sites

#7 ·  Posted

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* [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

Share this post


Link to post
Share on other sites

#8 ·  Posted

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.

Thanks

Share this post


Link to post
Share on other sites

#9 ·  Posted

As far as I know ther is no UDF for Chrome right now.


My UDFs and Tutorials:

UDFs:
Active Directory (2014-07-21 - Version 1.4.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2014-07-27 - Version 1.0.0.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (NEW 2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

Share this post


Link to post
Share on other sites

#10 ·  Posted

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.

Share this post


Link to post
Share on other sites

#11 ·  Posted

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.


OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

Updated 07 November, 2013 - If you find dead links please send me a PM, do not post in the topics !

Share this post


Link to post
Share on other sites

#12 ·  Posted

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

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  
Followers 0