MarcoMonte Posted March 30, 2022 Share Posted March 30, 2022 Just a clearfy please, to learn how to automate Chrome with autoit I have to study WebDriver topics right? This under is the link where I should start to read is not it? https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/ Sorry for my crap english, I am still learning. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 30, 2022 Developers Share Posted March 30, 2022 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 More sharing options...
Solution Nine Posted March 30, 2022 Solution Share Posted March 30, 2022 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. MarcoMonte 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
junkew Posted March 30, 2022 Share Posted March 30, 2022 The other solution is uia automation. The benefit of that approach is no need on webdriver installation. You can Just compile as exe. So whats better depends on your usecasr. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
MarcoMonte Posted March 30, 2022 Author Share Posted March 30, 2022 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 More sharing options...
Nine Posted March 30, 2022 Share Posted March 30, 2022 You need to download some other UDFs. Read carefully what is required to run WebDriver : “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
MarcoMonte Posted March 30, 2022 Author Share Posted March 30, 2022 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 More sharing options...
junkew Posted March 30, 2022 Share Posted March 30, 2022 UIA information (and either webdriver or UIA needs study if you are new) https://www.autoitscript.com/forum/topic/153520-iuiautomation-ms-framework-automate-chrome-ff-ie/ https://www.autoitscript.com/forum/topic/201683-ui-automation-udfs/ https://www.autoitscript.com/forum/topic/196833-uiaspy-ui-automation-spy-tool/ Link 3 helps you with a spy that gives you coding examples by point and click. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
MarcoMonte Posted March 31, 2022 Author Share Posted March 31, 2022 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 More sharing options...
junkew Posted March 31, 2022 Share Posted March 31, 2022 simplespy works also on chrome. It should recognize all basic html elements. if not 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. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Nine Posted March 31, 2022 Share Posted March 31, 2022 3 hours ago, MarcoMonte said: Json.au3, WinHttp.au3 PLS? _Json(2021.11.20).zip WinHttp.zip MarcoMonte 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
MarcoMonte Posted March 31, 2022 Author Share Posted March 31, 2022 30 minutes ago, Nine said: _Json(2021.11.20).zip 17.94 kB · 0 downloads WinHttp.zip 30.79 kB · 0 downloads Grazie,1.6.4.1.zip_Json(2021.11.20).zip I had found these, I had to even enrolled on Github despite I cannot understand what service it supplies.... the dimension are different so I will se yours, thx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now