_generated\AcceptanceTesterActions::waitForElementChange PHP 메소드

waitForElementChange() 공개 메소드

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); ?>
또한 보기: 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