Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Session.php

function Session::__call

Overrides Container::__call

File

vendor/lullabot/php-webdriver/lib/WebDriver/Session.php, line 595

Class

Session
WebDriver\Session class

Namespace

WebDriver

Code

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal