_generated\AcceptanceTesterActions::waitForElementChange PHP Method

waitForElementChange() public method

Waits up to $timeout seconds for the given element to change. Element "change" is determined by a callback function which is called repeatedly until the return value evaluates to true. php waitForElementChange('#menu', function(WebDriverElement $el) { return $el->isDisplayed(); }, 100); ?>
See also: Codeception\Module\WebDriver::waitForElementChange()
public waitForElementChange ( $element, Closure $callback, integer $timeout = null )
$element
$callback Closure
$timeout integer seconds
    public function waitForElementChange($element, $callback, $timeout = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementChange', func_get_args()));
    }
AcceptanceTesterActions