C:\Users\%username%\AppData\Local\SeleniumBasic note: move new version of chromedriver.exe to install folder: (note: did *not* need to separately download Selenium) In this video I demonstrate some addtional cool Selenium Methods as well as some equivalents by injecting JavaScript.īe sure to check out my site posting for the actual AutoHotkey code.įrames are always such a pain I figured I should at least touch on how to navigate them with Selenium & AutoHotkey.ĭownloading files (PDF, Excel, etc) with Selenium & AutoHotkey is pretty easy.Ĭode: Select all downloaded SeleniumBasic (22 MB) CSS & XPath take some getting used to but can be invaluable when you are trying to grab very specific things. Here I review quite a few methods available in Selenium for getting/setting text on a page. When iterating over Objects in Selenium, please remember that the objects are in the Keys, not the values. Here I demonstrate how you can leverage your Chrome profile to avoid logging in each time! Please note: be very careful you watch your case as the code is case sensitive! Setting text and clicking links (This is very different than AutoHotkey & IE. Getting information from the page (somewhat similar to AutoHotkey & COM but there are significant differences) Starting up the WebDrivers & navigating to a page (BTW- you don't have to "wait" for the page to load!) Installing SeleniumBasic for use with AutoHotkey (When you try and install Selenium on your own you'll understand how confusing it is!) What is Selenium (and why does it matter for AutoHotkey users)- No longer be tied to just automating IE!!! While all the example code is on the above links, you can see the videos below: I hope y'all find this helpful! It was incredibly confusing! On this page I have several videos & example code showing what you need to install, and now to use the code. I finally got around to documenting some of the work I've done using AutoHotkey and Selenium.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |