Overview

Namespaces

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

Classes

  • AbstractBinary
  • BinaryResolver
  • ChromeDriver
  • CompressedBinary
  • IEDriver
  • SeleniumStandalone

Interfaces

  • BinaryInterface
  • BinaryResolverInterface
  • DriverInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class BinaryResolver

BinaryResolver is responsible for all steps of resoling a binary - that is fetching, decompressing, and determining OS requirements.

Peridot\WebDriverManager\Binary\BinaryResolver implements Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface, Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface, Peridot\WebDriverManager\Binary\BinaryResolverInterface uses Peridot\WebDriverManager\Event\EventEmitterTrait
Namespace: Peridot\WebDriverManager\Binary
Package: Peridot\WebDriverManager\Binary
Located at Binary/BinaryResolver.php
Methods summary
public
# __construct( Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface $request = null, Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface $decompressor = null, Peridot\WebDriverManager\OS\SystemInterface $system = null )

Parameters

$request
$decompressor
$system
public Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface|Peridot\WebDriverManager\Binary\Request\StandardBinaryRequest
# getBinaryRequest( )

Get the BinaryRequestInterface responsible for fetching remote binaries.

Get the BinaryRequestInterface responsible for fetching remote binaries.

Returns

Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface|Peridot\WebDriverManager\Binary\Request\StandardBinaryRequest

Implementation of

Peridot\WebDriverManager\Binary\BinaryResolverInterface::getBinaryRequest()
public Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface|Peridot\WebDriverManager\Binary\Decompression\ZipDecompressor
# getBinaryDecompressor( )

Get the BinaryDecompressorInterface responsible for decompressing compressed binaries.

Get the BinaryDecompressorInterface responsible for decompressing compressed binaries.

Returns

Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface|Peridot\WebDriverManager\Binary\Decompression\ZipDecompressor

Implementation of

Peridot\WebDriverManager\Binary\BinaryResolverInterface::getBinaryDecompressor()
public Peridot\WebDriverManager\OS\System|Peridot\WebDriverManager\OS\SystemInterface
# getSystem( )

Get the System object responsible for determining operating system information.

Get the System object responsible for determining operating system information.

Returns

Peridot\WebDriverManager\OS\System|Peridot\WebDriverManager\OS\SystemInterface

Implementation of

Peridot\WebDriverManager\Binary\BinaryResolverInterface::getSystem()
public boolean
# extract( string $compressedFilePath, string $directory )

Extract a compressed file to the given directory.

Extract a compressed file to the given directory.

Parameters

$compressedFilePath
$directory

Returns

boolean

Implementation of

Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface::extract()
public string
# request( string $url )

Request the binary at the specified url, and return the contents.

Request the binary at the specified url, and return the contents.

Parameters

$url

Returns

string

Implementation of

Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface::request()
Methods inherited from Peridot\WebDriverManager\Event\EventEmitterInterface
inherit()
Methods used from Peridot\WebDriverManager\Event\EventEmitterTrait
inherit()
Properties summary
protected Peridot\WebDriverManager\Binary\Request\BinaryRequestInterface $request
#
protected Peridot\WebDriverManager\Binary\Decompression\BinaryDecompressorInterface $decompressor
#
protected Peridot\WebDriverManager\OS\SystemInterface $system
#
WebDriver Manager API documentation generated by ApiGen