PHP 클래스 Codeception\Module\WPBrowser

상속: extends Codeception\Module\PhpBrowser, use trait WPBrowserMethods
파일 보기 프로젝트 열기: lucatume/wp-browser

보호된 프로퍼티들

프로퍼티 타입 설명
$adminPath [type] 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.
activatePlugin ( string $pluginSlug ) : void In the plugin administration screen activates a plugin clicking the "Activate" link.
deactivatePlugin ( string $pluginSlug ) : void In the plugin administration screen deactivates a plugin clicking the "Deactivate" link.
grabCookiesWithPattern ( string $cookiePattern ) : Cookie | null Returns all the cookies whose name matches a regex pattern.

보호된 메소드들

메소드 설명
configBackCompat ( )
validateConfig ( )

메소드 상세

_initialize() 공개 메소드

Initializes the module setting the properties values.
public _initialize ( ) : void
리턴 void

activatePlugin() 공개 메소드

The method will presume the browser is in the plugin screen already.
public activatePlugin ( string $pluginSlug ) : void
$pluginSlug string The plugin slug, like "hello-dolly".
리턴 void

configBackCompat() 보호된 메소드

protected configBackCompat ( )

deactivatePlugin() 공개 메소드

The method will presume the browser is in the plugin screen already.
public deactivatePlugin ( string $pluginSlug ) : void
$pluginSlug string The plugin slug, like "hello-dolly".
리턴 void

grabCookiesWithPattern() 공개 메소드

Returns all the cookies whose name matches a regex pattern.
public grabCookiesWithPattern ( string $cookiePattern ) : Cookie | null
$cookiePattern string
리턴 Symfony\Component\BrowserKit\Cookie | null

validateConfig() 보호된 메소드

protected validateConfig ( )

프로퍼티 상세

$adminPath 보호되어 있는 프로퍼티

The admin absolute URL.
protected [type] $adminPath
리턴 [type]

$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