Permalink
Browse files

Typo

  • Loading branch information...
1 parent d2dfdb3 commit 304148ed7c5893c074a1269fa35507631050c10e @chibimagic committed Aug 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 WebDriver/WebElement.php
View
@@ -357,15 +357,15 @@ public function assert_attribute_value($attribute_name, $expected_value) {
}
public function assert_attribute_contains($attribute_name, $expected_needle) {
- $end_time = time() + WebDriver::$ImplictWaitMS/1000;
+ $end_time = time() + WebDriver::$ImplicitWaitMS/1000;
do {
$actual_haystack = $this->get_attribute_value($attribute_name);
} while (time() < $end_time && strstr($actual_haystack, $expected_needle) === false);
PHPUnit_Framework_Assert::assertContains($expected_needle, $actual_haystack, "Failed asserting that <{$this->locator}>'s attribute <{$attribute_name}> contains <{$expected_needle}>.");
}
public function assert_attribute_does_not_contain($attribute_name, $expected_missing_needle) {
- $end_time = time() + WebDriver::$ImplictWaitMS/1000;
+ $end_time = time() + WebDriver::$ImplicitWaitMS/1000;
do {
$actual_haystack = $this->get_attribute_value($attribute_name);
} while (time() < $end_time && strstr($actual_haystack, $expected_missing_needle) !== false);

0 comments on commit 304148e

Please sign in to comment.