function Container::__call
Overrides AbstractWebDriver::__call
2 calls to Container::__call()
- Session::__call in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Session.php - Magic method that maps calls to class methods to execute WebDriver commands
- Session::__call in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Session.php - Magic method that maps calls to class methods to execute WebDriver commands
1 method overrides Container::__call()
- Session::__call in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Session.php - Magic method that maps calls to class methods to execute WebDriver commands
File
-
vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Container.php, line 224
Class
- Container
- Abstract WebDriver\Container class
Namespace
WebDriverCode
public function __call($name, $arguments) {
if (count($arguments) === 1 && in_array(str_replace('_', ' ', $name), $this->strategies)) {
return $this->locate($name, $arguments[0]);
}
// fallback to executing WebDriver commands
return parent::__call($name, $arguments);
}