PHP Class Nearsoft\SeleniumClient\Timeouts

Afficher le fichier Open project: nearsoft/php-selenium-client

Méthodes publiques

Méthode Description
__construct ( WebDriver $driver )
implicitWait ( integer $milliseconds ) Sets default time for selenium to wait for an element to be present
pageLoadTimeout ( integer $milliseconds ) Sets page_load timeout
setScriptTimeout ( integer $milliseconds ) Set's Async Script timeout

Method Details

__construct() public méthode

public __construct ( WebDriver $driver )
$driver WebDriver

implicitWait() public méthode

Sets default time for selenium to wait for an element to be present
public implicitWait ( integer $milliseconds )
$milliseconds integer

pageLoadTimeout() public méthode

Sets page_load timeout
public pageLoadTimeout ( integer $milliseconds )
$milliseconds integer

setScriptTimeout() public méthode

Set's Async Script timeout
public setScriptTimeout ( integer $milliseconds )
$milliseconds integer