Jump to content

Info Chrome automation - (Moved)


Go to solution Solved by Nine,

Recommended Posts

  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Solution
36 minutes ago, MarcoMonte said:

I have to study WebDriver topics right?

Yes this is the best UDF to automate Chrome.  When you download the UDF, there is a Help File.  But more importantly, you will get the demo.au3 file to learn all the basics.  There are many useful examples in the demo that can serve to accelerate the learning.  Look also at the AutoIt Wiki for the how-to.  In case of an issue, post code here, someone will help you.

Link to comment
Share on other sites

I must admit that I am finding some trouble with webdriver, it is totaly new to me, right now I am receiving an error "#include json ecc" I used to write some simple script to automate I.E. but now autoit is becoming always more powerfull and powerfull  and for this also more complicated too.

Link to comment
Share on other sites

I am really trying to get these UDF packing but I cannot find it, I just found a .exe from this site https://sites.google.com/chromium.org/driver/

for UDF regarding JSON I landed on this website https://github.com/zserge/jsmn but I am unable to find JSMN.au3 or Json.au3, same thing with WinHttp.au3 

before insulting me remember I am an human being too

 

Link to comment
Share on other sites

Pardon me, of course I am doing it, I am currently watching some video on YT about Webdriver, It is not easy because they are in english and it is not my first language, just I cannot find the above mentioned Au3 files (JSMN.au3,  Json.au3, WinHttp.au3 ).

ps 

I used simplespy once, it is a very good tool but I am forced to use Chrome and I remember that it works just with I.E. Is not that right? 

Could someone pls link me the location of these file? J

SMN.au3,  Json.au3, WinHttp.au3    PLS?

Link to comment
Share on other sites

simplespy works also on chrome. It should recognize all basic html elements.

if not 
 

  1. Start Chrome with this flag: --force-renderer-accessibility

Its a little harder thru UIA to get to the actual HTML source which is easier with webdriver UDF. It just depends on your goal whats easier.

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...