hayatravis/php-selenium-server

Operate selenium-server-standalone. You can start and stop from the php command line.

Installs: 36

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hayatravis/php-selenium-server

1.0.2 2017-11-17 12:53 UTC

This package is not auto-updated.

Last update: 2025-10-12 09:31:41 UTC


README

Build Status Coverage Status Total Downloads License composer.lock

Usage

<?php
require_once './vendor/autoload.php';

$client = new \Hayatravis\Pss\PhpSeleniumServer();

// Start selenium-server-standalone.
$client->startSeleniumServer();

/*
 * Program using Facebook \ WebDriver \ Remote \ RemoteWebDriver etc...
 *
 */

// Get selenium-server-standalone process ID.
$client->getPid();

// Confirm that selenium-server-standalone is stopped.
$client->isStopSeleniumServer();

// Stop selenium-server-standalone.
$client->stopSeleniumServer();