NAME
Kernel::System::UnitTest::Selenium::WebElement – Utility functions for Selenium WebElements
VerifiedSubmit()
Submit a form element, and wait for the page to be fully loaded (works only in OTRS)
$WebElementObject->VerifiedSubmit();
VerifiedClick()
click an element that causes a page get/reload/submit and wait for the page to be fully loaded (works only in OTRS).
$WebElementObject->VerifiedClick(
$Button # optional, see Selenium docs
);
SendKeysAndWait()
performs send_keys() and also waits afterwards, this seems to be required in asynchronous environments.
$WebElementObject->SendKeysAndWait(
$Keys,
$WaitSeconds, # optional, defaults to 0.3
);
ClearAndWait()
performs clear() and also waits afterwards, this seems to be required in asynchronous environments.
$WebElementObject->ClearAndWait(
$WaitSeconds, # optional, defaults to 0.3
);