swiniak / selenium-server-standalone
Composer distribution of Selenium Server Standalone, the browser automation framework. Adds a executable to your composer bin directory.
This package is not auto-updated.
Last update: 2024-04-14 01:57:37 UTC
README
Fork of https://github.com/joomla-projects/selenium-server-standalone
Composer distribution of Selenium Server Standalone, the browser automation framework.
Version
Release numbers are synchronised with the Selenium versions. Version of this release is v3.6.0
Selenium Changelog: https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG
Original jar files and checksums: http://selenium-release.storage.googleapis.com/index.html
Webdriver
- Google Chrome version 2.32
- Internet Explorer 32-bit version 3.6.0
- Internet Explorer 64-bit version 3.6.0
- Microsoft Edge version 4.15063
- Microsoft Edge Insiders version 10.0.16288.1000
- Firefox Gecko / Marionette Driver version 0.19 •geckodriver now recommends Firefox 55 and greater. *x32 windows = 0.18
Installation
Inside your composer-powered project
composer require swiniak/selenium-server-standalone
Standalone
composer install
The command composer install
will make the selenium executable from inside bin
.
Usage
$ vendor/bin/selenium-server-standalone
Arguments are supported.
$ vendor/bin/selenium-server-standalone -port 4445
To shut down Selenium you can visit:
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
Usage with PHP
If you want to launch Selenium from a PHP application, you could use the Selenium class.
$selenium = new Selenium(array('browser' => 'chrome', 'insider' => false, 'selenium_params' => array())); $selenium->run();
Possible values for browser are chrome|firefox|MicrosoftEdge|internet explorer If you are in the Windows Insider program, you would need the edge-insiders browser. So set the insider flag to true.
Acknowledgements
This project was forked from the original https://github.com/sveneisenschmidt/selenium-server-standalone
Thanks to the Selenium Project