codeception/module-webdriver
Composer package to work when wp-browser is used with Codeception 4.0.url
required - Start URL of your WordPress project, e.g. http://wp.test
.adminUsername
required - This is the login name, not the "nice" name, of the administrator user of the WordPress test site. This will be used to fill the username field in WordPress login page. adminPassword
required - This is the the password of the administrator use of the WordPress test site. This will be used to fill the password in WordPress login page. adminPath
required - The path, relative to the WordPress test site home URL, to the administration area, usually /wp-admin
.browser
- The browser to use for the tests, e.g. chrome
or firefox
.capabilities
- Depending on the browser set in browser
this is a list of browser-specific capabilities.string/\Codeception\Module\array
$pluginSlug - The plugin slug, like "hello-dolly" or a list of plugin slugs.int
$id - The post ID.admin-ajax.php
page to start a synchronous, and blocking, GET
AJAX request. The method will not handle authentication, nonces or authorization.string/\Codeception\Module\array
$queryVars - A string or array of query variables to append to the AJAX path.string
$page - The path, relative to the admin area URL, to the page.GET
request to the cron script.string/\Codeception\Module\array
$queryVars - A string or array of query variables to append to the AJAX path.string/\Codeception\Module\array
$pluginSlug - The plugin slug, like "hello-dolly", or a list of plugin slugs.string
$pluginSlug - The plugin slug, like "hello-dolly".string
$cookiePattern - The regular expression pattern to use for the matching.string
$name - Optional, overrides the default cookie name.bool/bool/string
$redirectTo - Whether to redirect to another (optionally specified) page after the logout.string
$username - The user login name.string
$password - The user password in plain text.int
$timeout - The max time, in seconds, to try to login.int
$maxAttempts - The max number of attempts to try to login.int
$timeout - The max time, in seconds, to try to login.int
$maxAttempts - The max number of attempts to try to login..notice.notice-error
ones.string/string/\Codeception\Module\array
$classes - A list of classes the notice should have other than thestring/\Codeception\Module\array/string
$classes - A list of classes the message should have in addition to the .notice
one.string
$pluginSlug - The plugin slug, like "hello-dolly".string
$pluginSlug - The plugin slug, like "hello-dolly".string
$pluginSlug - The plugin slug, like "hello-dolly".wp_die
function. The method will try to identify the page based on the default WordPress die page HTML attributes.int
$time - The max time to wait for AJAX requests to complete.