下载 安装
Selenium IDE
Selenium IDE is a Chrome and Firefox plugin which records and plays back user interactions with the browser. Use this to either create simple scripts or assist in exploratory testing.Download latest released version for Chrome or for Firefox or view the Release Notes.
Download previous IDE versions here.
使用
浏览器中点击IDE插件图标
录制一个新的test录制项目
输入目标url,开始录制
一顿操作后,关闭浏览器
点击IDE右上角停止录制,输入Test Name
代码导出:
test case --> export --> python pytest --> 项目路径 --> pycharm --> start test
参考:https://www.selenium.dev/selenium-ide/docs/en/introduction/code-export
常见问题: https://www.selenium.dev/selenium-ide/docs/en/introduction/faq