Created
August 18, 2012 13:35
-
-
Save adamgoucher/3386879 to your computer and use it in GitHub Desktop.
Initial PHPWebDriver_Support_WebDriverExpectedConditions class
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 | |
// Copyright 2012-present Element 34 | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, | |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
// See the License for the specific language governing permissions and | |
// limitations under the License. | |
include_once('WebDriverExceptions.php'); | |
class PHPWebDriver_Support_WebDriverExpectedConditions { | |
public function __construct($session) { | |
$this->session = $session; | |
return $this; | |
} | |
/** | |
* @returns bool | |
*/ | |
public function titleIs($title) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function titleContains($title) { | |
} | |
/** | |
* @returns WebDriverElement | |
*/ | |
public function presenceOfElementLocated($locator) { | |
} | |
/** | |
* @returns WebDriverElement | |
*/ | |
public function visibilityOfElementLocated($locator) { | |
} | |
/** | |
* @returns WebDriverElement | |
*/ | |
public function visibilityOf($element) { | |
} | |
/** | |
* @returns array | |
*/ | |
public function presenceOfAllElementsLocatedBy($locator) { | |
} | |
/** | |
* @returns array | |
*/ | |
public function presenceOfAllElementsLocatedBy($locator) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function textToBePresentInElement($locator, $text) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function textToBePresentInElementValue($locator, $text) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function frameToBeAvailableAndSwitchToIt($locator) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function invisibilityOfElementLocated($locator) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function elementToBeClickable($locator) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function stalenessOf($element) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function elementToBeSelected($element) { | |
} | |
/** | |
* @returns WebDriverElement | |
*/ | |
public function elementLocatedToBeSelected($locator) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function elementSelectionStateToBe($element, $is_selected) { | |
} | |
/** | |
* @returns bool | |
*/ | |
public function elementSelectionStateToBe($element, $selection_state) { | |
} | |
/** | |
* @returns WebDriverElement | |
*/ | |
public function elementLocatedSelectionStateToBe($element, $selection_state) { | |
} | |
/** | |
* @returns Alert | |
*/ | |
public function elementLocatedSelectionStateToBe($element, $selection_state) { | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment