Selenium - Why there is no need of external firefox driver like IE and chrome in selenium2.0?
2016-04-19 18:09
351 查看
The FirefoxDriver is special, it comes pre-bundled in the package:
https://code.google.com/p/selenium/wiki/FirefoxDriver
Firefox driver is included in the selenium-server-stanalone.jar available in the downloads. The driver comes in the form of an xpi (firefox extension) which is added to the firefox profile
when you start a new instance of FirefoxDriver.
In a very similar way to how the Safari driver works:
https://code.google.com/p/selenium/wiki/SafariDriver
The SafariDriver is implemented as a Safari browser extension. The driver inverts the traditional client/server relationship and communicates with the WebDriver client using WebSockets.
It is just an extension that is created and used to communicate with Firefox, the other browsers & drivers simply don't follow the same implementation and thus, you are required to start drivers
& executables for the others.
https://code.google.com/p/selenium/wiki/FirefoxDriver
Firefox driver is included in the selenium-server-stanalone.jar available in the downloads. The driver comes in the form of an xpi (firefox extension) which is added to the firefox profile
when you start a new instance of FirefoxDriver.
In a very similar way to how the Safari driver works:
https://code.google.com/p/selenium/wiki/SafariDriver
The SafariDriver is implemented as a Safari browser extension. The driver inverts the traditional client/server relationship and communicates with the WebDriver client using WebSockets.
It is just an extension that is created and used to communicate with Firefox, the other browsers & drivers simply don't follow the same implementation and thus, you are required to start drivers
& executables for the others.
相关文章推荐
- 针对Ruby的Selenium WebDriver安装指南
- Selenium处理select标签的下拉框
- Python中使用 Selenium 实现网页截图实例
- selenium grid2 初探
- UI自动化测试框架之Selenium关键字驱动
- selenium使用chrome时,报错ignore certificate errors
- 利用 Selenium 自动化 web 测试
- Xampp安装PHPUnit
- selenium学习3 selenium for IE8+WIN7
- Selenium官文翻译--(一)目录
- Selenium官文翻译--(二)Selenium WebDriver(未完待续)
- 2016年的自动化测试趋势
- Selenium关于下拉列表的定位方法总结
- 用C#.NET 与Webdriver写的抓取网页信息的小工具
- [selenium + eclipse + testng]Build environment
- selenium-ide安装与使用
- selenium学习笔记(1)--webdriver中时间控件的使用
- 用Selenium RC插件测试远程应用
- Selenium-Grid 实现案列