在我的公司,我们必须填写每日考勤卡,我想让它自动化。我想使用某种工具,让我可以写出这样的东西:
Launch Firefox
go to www.example.com/timecard
Wait for page load complete
In UserName box: put username
In Password box: put password
Press enter
Wait for page load complete
if login failed
email me@example.com that unable to automatically do timecard, please check password
return;
Get today's date
if today is Saturday or Sunday
close firefox
return;
find the timecard column that matches today's date
find the row with the right charge number
put in 8.0 hours
click "Save" link
close firefox
return;如果软件解决方案也能在给定时间每天执行它自己,那就太好了。
发布于 2009-02-23 19:35:02
查看火狐的Chickenfoot扩展。我相信这会对你有很大的帮助。
是一个火狐扩展,它将编程环境放在浏览器的侧边栏中,这样你就可以编写脚本来操作网页和自动浏览网页。
它还提供了一个基本的记录功能,然后您可以微调与网页的互动。
https://stackoverflow.com/questions/578978
复制相似问题