问题
There are a couple websites I routine log into to update calendar information. This is very routine without a lot of change. With the exception of the log in fields, it only involves right click (no other keyboard input). What "language" would be well suited for the task? I think website scraping would be overkill and am considering Autohotkey or AutoIt. It probably would be best if I could record the script by doing it manually first, then tweak the script by hand.
My default browser is Firefox but for this task I don't care what is used. Speed and performance is not a huge deal, as the task is fairly simple.
回答1:
As you were talking about web scraping, I would assume you have bit of coding background.
Just as mentioned in comment, You are searching for Selenium WebDriver. It's a advanced library for automating browser activities (for IE,FF & Chrome).
There are 2 options available with Selenium
- Selenium IDE: This is Firefox plugin, helps in record and play. Auto generates code, however it's of old version.
- Writing selenium WebDriver scripts. It has learning curve which is relatively easy but not as easy as Autohotkey or AutoIt.
Hope it helps.
回答2:
Both AutoHotkey or AutoIt have IE automating capabilities and can also be used to control the selenium WebDriver
An automatic IE login tutorial using build-in Autohotkey functions can be found here How-to: Create a shortcut that automatically logs in to any website
来源:https://stackoverflow.com/questions/41564672/simple-automation-tool-for-logging-into-website-and-updating