/selenium-server-standalone

Composer/packagist package containing Selenium Server Standalone for system tests

Primary LanguageHTMLApache License 2.0Apache-2.0

selenium-server-standalone

Latest Stable Version Total Downloads Latest Unstable Version License

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.141.59

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 76.0.3809.68 (win/linux/mac)
  • Internet Explorer 32-bit version 3.14.0 (win)
  • Internet Explorer 64-bit version 3.14.0 (win)
  • Microsoft Edge version FOD (win)
  • Microsoft Edge Chromium version 77.0.223.0 (win/linux/mac)
  • Firefox Gecko / Marionette Driver version 0.24 (win/linux/mac)

Installation

Inside your composer-powered project

composer require joomla-projects/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