Class LoginPage
Page object which represents the Login Page.
Use the login method to login with a particular user.
-
Azalea\Selenium\Core\WebDriver
-
Azalea\Selenium\Core\Page
-
Azalea\Selenium\Login\LoginPage
Methods summary
public
|
#
login( string $email, string $password )
Performs the login action
Performs the login action
Parameters
|
public
|
#
loginAs( Azalea\Selenium\Core\User $user )
Performs the login action from a pre-defined User object.
Performs the login action from a pre-defined User object.
Parameters
|
public
boolean
|
#
isInvalidLogin( )
Returns true if we are in an invalid login state.
Returns true if we are in an invalid login state.
Returns
boolean
|
public
Azalea\Selenium\Login\ResetPasswordPage
|
#
resetPassword( )
Navigate to the Forgot Password link.
Navigate to the Forgot Password link.
Returns
|
protected
boolean
|
#
verify( )
Called by the Page class to verify that we are on the
correct page.
Called by the Page class to verify that we are on the
correct page.
Returns
boolean
Overrides
|
Methods inherited from Azalea\Selenium\Core\WebDriver
__call(),
__construct(),
clickAndWait(),
displayed(),
displayedById(),
exists(),
existsById(),
getCurrentHash(),
getDriver(),
getElementsByCss(),
setDriver(),
spinWait(),
updateHash(),
wait()
|
Properties summary
protected static
string
|
$url
|
|