_generated\AcceptanceTesterActions::waitForText PHP Method

waitForText() public method

Waits up to $timeout seconds for the given string to appear on the page. Can also be passed a selector to search in. If the given text doesn't appear, a timeout exception is thrown. php waitForText('foo', 30); // secs $I->waitForText('foo', 30, '.title'); // secs ?>
See also: Codeception\Module\WebDriver::waitForText()
public waitForText ( string $text, integer $timeout = null, null $selector = null )
$text string
$timeout integer seconds
$selector null
    public function waitForText($text, $timeout = null, $selector = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForText', func_get_args()));
    }
AcceptanceTesterActions