NAME
Kernel::Test::Role::Selenium::Agent::ProvidesLoginAndLogout – Role to log into and out of the agent interface in Selenium tests.
AgentLogin()
Login to agent interface.
$Test->AgentLogin(
User => 'someuser',
Password => 'somepassword',
Mobile => 0, # Login using Mobile layout (default 0)
);
AgentLogout()
Log out of the agent interface.
$Test->AgentLogout(
NoWait => 1, (optional) Default 0. Do not wait for test flag after logout.
);
