Firefox官方下载地址:http://www.firefox.com.cn/download/#more,下载延长支持版。html
Selenium自己有录制功能组件(Selenium IDE),其依附于Firefox浏览器,是Firefox的一个插件。关于seleniumIDE的使用参考。因为Selenium IDE只支持Firefox老版本,老版本的Firefox用起来不是很方便,本文用Katalon Automation Recorder替代Selenium IDE。浏览器
打开Firefox浏览器,Web开发者 -> 获取更多工具,在打开的页面中搜索【Katalon Automation】,并添加工具
1. 打开Katalon Automation Recorder,点击Record开始录制。 firefox
2. 地址栏输入网址http://www.baidu.com,作相应的操做,操做完成点击stop便可中止录制。 插件
3. 点击Export按钮,弹出脚本页面,选择想导出的语言,而后点击复制,或者保存便可。 htm