简单的自动化工具,用于登录网站和更新 [英] Simple automation tool for logging into website and updating

查看:117
本文介绍了简单的自动化工具,用于登录网站和更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常登录几个网站来更新日历信息.这是非常常规的,无需进行很多更改.除登录字段外,它仅涉及右键单击(没有其他键盘输入).哪种语言"将非常适合该任务?我认为网站抓取行为会过大,并正在考虑使用Autohotkey或AutoIt.如果我可以先手动记录脚本,然后手动调整脚本,那将是最好的选择.

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.

我的默认浏览器是Firefox,但是对于此任务,我不在乎使用的是什么.速度和性能并不重要,因为任务非常简单.

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.

推荐答案

在您谈论网络抓取时,我认为您有一定的编码背景.

As you were talking about web scraping, I would assume you have bit of coding background.

就像评论中提到的那样,您正在搜索 Selenium WebDriver .这是一个用于自动执行浏览器活动的高级库(适用于IE,FF和Chrome).

Just as mentioned in comment, You are searching for Selenium WebDriver. It's a advanced library for automating browser activities (for IE,FF & Chrome).

硒有2个可用选项

  1. Selenium IDE :这是Firefox插件,有助于记录和播放.自动生成代码,但是它是旧版本.
  2. 编写硒WebDriver脚本 .它具有相对容易的学习曲线,但不像Autohotkey或AutoIt那样容易.

希望有帮助.

这篇关于简单的自动化工具,用于登录网站和更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆