PHP Класс Codeception\Module\WPWebDriver

Наследование: extends Codeception\Module\WebDriver, use trait WPBrowserMethods
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
_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.

Защищенные методы

Метод Описание
configBackCompat ( )
validateConfig ( )

Описание методов

_initialize() публичный Метод

Initializes the module setting the properties values.
public _initialize ( ) : void
Результат void

configBackCompat() защищенный Метод

protected configBackCompat ( )

grabCookiesWithPattern() публичный Метод

Returns all the cookies whose name matches a regex pattern.
public grabCookiesWithPattern ( string $cookiePattern ) : array | null
$cookiePattern string
Результат array | null

grabFullUrl() публичный Метод

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

validateConfig() защищенный Метод

protected validateConfig ( )

waitForJqueryAjax() публичный Метод

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

Описание свойств

$adminPath защищенное свойство

The admin absolute URL.
protected string $adminPath
Результат string

$loginUrl защищенное свойство

The login screen absolute URL
protected string $loginUrl
Результат string

$pluginsPath защищенное свойство

The plugin screen absolute URL
protected string $pluginsPath
Результат string

$requiredFields защищенное свойство

The module required fields, to be set in the suite .yml configuration file.
protected array $requiredFields
Результат array