joomla-projects / selenium-server-standalone
此包已被废弃且不再维护。未建议替代包。
Composer 分发的 Selenium Server Standalone,浏览器自动化框架。将可执行文件添加到您的 composer bin 目录。
v3.141.59
2019-07-31 05:15 UTC
- dev-master
- v3.141.59
- v3.14.0
- v3.13.0
- v3.12.0
- v3.11.0.5
- v3.11.0.4
- v3.11.0.3
- v3.11.0.2
- v3.11.0.1
- v3.11.0
- v3.8.1
- v3.7.0
- v3.6.0
- v3.5.3
- v3.5.2
- v3.5.0
- v3.4.0.3
- v3.4.0.2
- v3.4.0.1
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.1.3
- v3.0.1.2
- v3.0.1.1
- v3.0.1
- v2.53.1.1
- v2.53.1
- v2.53.0.1
- v2.53.0
- v2.52.0
- v2.51.0
- v2.50.1
- v2.49.1
- v2.49.0
- v2.48.2
- v2.47.1
This package is auto-updated.
Last update: 2020-10-30 02:03:44 UTC
README
Composer 分发的 Selenium Server Standalone,浏览器自动化框架。
版本
发布号与 Selenium 版本同步。本发布版本为 v3.141.59
Selenium 变更日志: https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG
原始 jar 文件和校验和: http://selenium-release.storage.googleapis.com/index.html
WebDriver
- Google Chrome 版本 76.0.3809.68 (win/linux/mac)
- Internet Explorer 32位版本 3.14.0 (win)
- Internet Explorer 64位版本 3.14.0 (win)
- Microsoft Edge 版本 FOD (win)
- Microsoft Edge Chromium 版本 77.0.223.0 (win/linux/mac)
- Firefox Gecko / Marionette Driver 版本 0.24 (win/linux/mac)
安装
在您的 composer 驱动的项目中
composer require joomla-projects/selenium-server-standalone
独立安装
composer install
命令 composer install
将在 bin
目录中创建 selenium 可执行文件。
使用方法
$ vendor/bin/selenium-server-standalone
支持参数。
$ vendor/bin/selenium-server-standalone -port 4445
要关闭 Selenium,您可以访问
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
与 PHP 一起使用
如果您想从 PHP 应用程序启动 Selenium,可以使用 Selenium 类。
$selenium = new Selenium(array('browser' => 'chrome', 'insider' => false, 'selenium_params' => array())); $selenium->run();
浏览器可能的值为 chrome|firefox|MicrosoftEdge|internet explorer 如果您在 Windows Insider 计划中,则需要 edge-insiders 浏览器。因此,将 insider 标志设置为 true。
致谢
该项目是从原始的 https://github.com/sveneisenschmidt/selenium-server-standalone 分支出来的。
感谢 Selenium 项目