function Session::__call
Overrides Container::__call
File
-
vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Session.php, line 595
Class
- Session
- WebDriver\Session class
Namespace
WebDriverCode
public function __call($name, $arguments) {
$map = [
'application_cache' => 'applicationCache',
'execute_async' => 'executeAsync',
'local_storage' => 'localStorage',
'session_storage' => 'sessionStorage',
];
if (array_key_exists($name, $map)) {
return call_user_func_array([
$this,
$map[$name],
], $arguments);
}
// fallback to executing WebDriver commands
return parent::__call($name, $arguments);
}