使用Selenium server standalone实现定时web自动化下载电影

本文介绍了如何使用Selenium-server-standalone JAR包实现定时web自动化下载电影。首先,录制并保存Selenium脚本,接着下载JAR包,理解其用途和常用参数。然后,通过设置Windows计划任务,每天定时运行脚本,实现自动化下载。最后,提到了针对Firefox的配置细节。
摘要由CSDN通过智能技术生成

1. 录制编写Selenium脚本

请参考文章 http://blog.csdn.net/ywyxb/article/details/59103683 进行Selenium IDE环境的部署和脚本录制。并将脚本保存为test suite(测试套件),例如命名为:Baidu.html。例如,将它保存在C:\test目录下。
这里写图片描述

2. 下载Selenium-server-standalone JAR包

为什么要下载Selenium-server-standalone JAR包?

官网说明:
The Selenium Server is needed in order to run Remote Selenium
WebDriver. Selenium 3.X is no longer capable of running Selenium RC
directly, rather it does it through emulation and the
WebDriverBackedSelenium interface.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值