-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hi,
Just wondering about this,
You have a big list of methods here, in a big comment block, but the comment doesn't give an indication where these methods are implemented or how they can be used?
For example the string "findElementByCssSelector" doesn't exist in any other php files in the SeleniumClient dir besides in this comment block of WebDriver.php.
And they're all shown with the namespace SeleniumClient\WebElement, yet they work directly on the webdriver object, for example:
require "/path/to/SeleniumClient/WebDriver.php";
$driver = new SeleniumClient\WebDriver();
$el = $driver->findElementsByCssSelector($sel); #works
?
/**
- @param string $selectorValue
- @param string $selectorDefinition
- @param bool $polling
- @method \SeleniumClient\WebElement findElementByCssSelector($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementById($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementByJsSelector($selectorValue, $selectorDefinition='$', $polling=false)
- @method \SeleniumClient\WebElement findElementByLinkText($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementByName($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementByPartialLinkText($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementByTagName($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement findElementByXPath($selectorValue, $polling=false)
* - @method \SeleniumClient\WebElement[] findElementsByCssSelector($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsById($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByJsSelector($selectorValue, $selectorDefinition='$', $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByLinkText($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByName($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByPartialLinkText($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByTagName($selectorValue, $polling=false)
- @method \SeleniumClient\WebElement[] findElementsByXPath($selectorValue, $polling=false)
*/
Metadata
Metadata
Assignees
Labels
No labels