\ChromeDriverService

Summary

Methods
Properties
Constants
__construct()
getURL()
start()
stop()
isRunning()
createDefaultService()
No public properties found
CHROME_DRIVER_EXE_PROPERTY
checkExecutable()
No protected properties found
N/A
No private methods found
$executable
$url
$args
$environment
$process
N/A

Constants

CHROME_DRIVER_EXE_PROPERTY

CHROME_DRIVER_EXE_PROPERTY

Properties

$executable

$executable : string

Type

string

$url

$url : string

Type

string

$args

$args : array

Type

array

$environment

$environment : array

Type

array

$process

$process : resource

Type

resource

Methods

__construct()

__construct(string  $executable, integer  $port, array  $args = array(), array|null  $environment = null) 

Parameters

string $executable
integer $port

The given port the service should use.

array $args
array|null $environment

Use the system environment if it is null

getURL()

getURL() : string

Returns

string

isRunning()

isRunning() : boolean

Returns

boolean

createDefaultService()

createDefaultService() 

checkExecutable()

checkExecutable(string  $executable) : string

Check if the executable is executable.

Parameters

string $executable

Throws

\Exception

Returns

string