selenium手册_Selenium 工具介绍

  • 功能组件介绍

Selenium automates browsers. That's it!

What you do with that power is entirely up to you.Selenium automates browsers. That's it!

What you do with that power is entirely up to you.

Selenium分三个组件:

Selenium WebDriver(回归测试)

If you want to create robust, browser-based regression automation suites and tests, scale and distribute scripts across many environments, then you want to use Selenium WebDriver, a collection of language specific bindings to drive a browser - the way it is meant to be driven.

Selenium IDE(录制回放)

If you want to create quick bug reproduction scripts, create scripts to aid in automation-aided exploratory testing, then you want to use Selenium IDE; a Chrome and Firefox add-on that will do simple record-and-playback of interactions with the browser.

Selenium Grid(分布式执行)

If you want to scale by distributing and running tests on several machines and manage multiple environments from a central point, making it easy to run the tests against a vast combination of browsers/OS, then you want to use Selenium Grid.

  • 参考资料

官方网站:

https://selenium.dev/

源代码:

https://github.com/SeleniumHQ/selenium

用户手册:

https://selenium.dev/documentation/en/

  • 安装配置介绍

在IDEA中使用maven安装selenium的方法:

打开如下页面,选择对应版本的maven配置,添加到pom.xml中

https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java/3.141.59

85bde810b75b5a5a5c63373c7cc6224a.png

web自动化

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值