Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

chrome automation - chrome.au3 ?


  • Please log in to reply
11 replies to this topic

#1 Alterlife

Alterlife

    Seeker

  • 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

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?

:mellow:
  • 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

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 5,067 posts

Posted 16 February 2010 - 07:16 PM

Its open source. Anyone wanna go digging?

#4 Alterlife

Alterlife

    Seeker

  • 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

JohnOne

    John

  • Active Members
  • PipPipPipPipPipPip
  • 12,985 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.


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

AutoIt Absolute Beginners Require a serial
 
 
OMG! Women are the cows of people.


#6 doccy

doccy

    Seeker

  • Active Members
  • 7 posts

Posted 03 March 2010 - 05:14 PM

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

#7 ProgAndy

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

atzoref

    Prodigy

  • 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
http://www.autoitscript.com/forum/topic/95595-ffau3-v0600b/page__st__440

and IE is very slow.


Thanks

#9 water

water

    ?

  • MVPs
  • 15,714 posts

Posted 22 April 2013 - 08:54 AM

As far as I know ther is no UDF for Chrome right now.
UDFs:
Active Directory (NEW 2014-07-21 - Version 1.4.1.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2014-07-27 - Version 1.0.0.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

#10 MouseSpotter

MouseSpotter

    Adventurer

  • 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

FireFox

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

  • MVPs
  • 5,382 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.

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.

Hardware : Intel® Core™ 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 !


#12 junkew

junkew

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 743 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