Created
September 3, 2013 12:41
-
-
Save serapheem/6423402 to your computer and use it in GitHub Desktop.
Selenium2 - Delay of assertions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
testDisplay() | |
{ | |
... | |
//I use 25000 for the timeout but anything else works too it depends on your loading page | |
$this->timeouts()->implicitWait(25000); | |
$this->assertContains('toto42', $this->source()); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment