_generated\AcceptanceTesterActions::waitForElement PHP Метод

waitForElement() публичный метод

Waits up to $timeout seconds for an element to appear on the page. If the element doesn't appear, a timeout exception is thrown. php waitForElement('#agree_button', 30); // secs $I->click('#agree_button'); ?>
См. также: Codeception\Module\WebDriver::waitForElement()
public waitForElement ( $element, integer $timeout = null )
$element
$timeout integer seconds
    public function waitForElement($element, $timeout = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElement', func_get_args()));
    }
AcceptanceTesterActions