Overview

Namespaces

  • Peridot
    • WebDriverManager
      • Binary
        • Decompression
        • Request
      • Console
      • Event
      • OS
      • Process
      • Test
  • PHP

Classes

  • SeleniumProcess

Interfaces

  • SeleniumProcessInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface SeleniumProcessInterface

SeleniumProcessInterface describes how to control a Selenium process.

Direct known implementers

Peridot\WebDriverManager\Process\SeleniumProcess
Namespace: Peridot\WebDriverManager\Process
Package: Peridot\WebDriverManager\Process
Located at Process/SeleniumProcessInterface.php
Methods summary
public boolean
# isAvailable( )

Returns whether or not java is available for use.

Returns whether or not java is available for use.

Returns

boolean
public mixed
# addBinary( Peridot\WebDriverManager\Binary\BinaryInterface $binary, mixed $directory )

Add a driver or binary to the argument list. Binary files will be searched for in the given directory.

Add a driver or binary to the argument list. Binary files will be searched for in the given directory.

Parameters

$binary
$directory

Returns

mixed
public
# addArg( string $arg )

Add arguments to be used by the process.

Add arguments to be used by the process.

Parameters

$arg
<ul> <li>should support variadic arguments</li> </ul>
public
# addArgs( array $args )

Add multiple arguments at once.

Add multiple arguments at once.

Parameters

$args
public array
# getArgs( )

Return the arguments being used by the process.

Return the arguments being used by the process.

Returns

array
public mixed
# start( boolean $background )

Start the process and return it.

Start the process and return it.

Parameters

$background

Returns

mixed
$this
public string
# getCommand( )

Return the java command being opened by the process.

Return the java command being opened by the process.

Returns

string
public array
# getStatus( boolean $loop )

Get process status. If loop is true it will loop until the process has finished before returning a final status.

Get process status. If loop is true it will loop until the process has finished before returning a final status.

Parameters

$loop

Returns

array
public boolean
# isRunning( )

Returns whether or not the process is running.

Returns whether or not the process is running.

Returns

boolean
public string
# getError( )

Get contents of error stream.

Get contents of error stream.

Returns

string
public integer
# close( )

Close the process.

Close the process.

Returns

integer
WebDriver Manager API documentation generated by ApiGen