PHP Class Codeception\Module\WPWebDriver

Inheritance: extends Codeception\Module\WebDriver, use trait WPBrowserMethods
Afficher le fichier Open project: lucatume/wp-browser

Protected Properties

Свойство Type Description
$adminPath string The admin absolute URL.
$loginUrl string The login screen absolute URL
$pluginsPath string The plugin screen absolute URL
$requiredFields array The module required fields, to be set in the suite .yml configuration file.

Méthodes publiques

Méthode Description
_initialize ( ) : void Initializes the module setting the properties values.
grabCookiesWithPattern ( string $cookiePattern ) : array | null Returns all the cookies whose name matches a regex pattern.
grabFullUrl ( ) Grabs the current page full URL including the query vars.
waitForJqueryAjax ( integer $time = 10 ) Waits for any jQuery triggered AJAX request to be resolved.

Méthodes protégées

Méthode Description
configBackCompat ( )
validateConfig ( )

Method Details

_initialize() public méthode

Initializes the module setting the properties values.
public _initialize ( ) : void
Résultat void

configBackCompat() protected méthode

protected configBackCompat ( )

grabCookiesWithPattern() public méthode

Returns all the cookies whose name matches a regex pattern.
public grabCookiesWithPattern ( string $cookiePattern ) : array | null
$cookiePattern string
Résultat array | null

grabFullUrl() public méthode

Grabs the current page full URL including the query vars.
public grabFullUrl ( )

validateConfig() protected méthode

protected validateConfig ( )

waitForJqueryAjax() public méthode

Waits for any jQuery triggered AJAX request to be resolved.
public waitForJqueryAjax ( integer $time = 10 )
$time integer

Property Details

$adminPath protected_oe property

The admin absolute URL.
protected string $adminPath
Résultat string

$loginUrl protected_oe property

The login screen absolute URL
protected string $loginUrl
Résultat string

$pluginsPath protected_oe property

The plugin screen absolute URL
protected string $pluginsPath
Résultat string

$requiredFields protected_oe property

The module required fields, to be set in the suite .yml configuration file.
protected array $requiredFields
Résultat array