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

Breadcrumb

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

function Session::methods

Overrides AbstractWebDriver::methods

File

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

Class

Session
WebDriver\Session class

Namespace

WebDriver

Code

protected function methods() {
    return array(
        'actions' => array(
            'POST',
            'DELETE',
        ),
        'back' => array(
            'POST',
        ),
        'cookie' => array(
            'GET',
            'POST',
        ),
        // for DELETE, use deleteAllCookies()
'forward' => array(
            'POST',
        ),
        'print' => array(
            'POST',
        ),
        'refresh' => array(
            'POST',
        ),
        'screenshot' => array(
            'GET',
        ),
        'source' => array(
            'GET',
        ),
        'title' => array(
            'GET',
        ),
        'url' => array(
            'GET',
            'POST',
        ),
        // alternate for POST, use open($url)
        // specific to Java SeleniumServer
'file' => array(
            'POST',
        ),
        // Legacy JSON Wire Protocol
'accept_alert' => array(
            'POST',
        ),
        'alert_text' => array(
            'GET',
            'POST',
        ),
        'browser_connection' => array(
            'GET',
            'POST',
        ),
        'buttondown' => 'POST',
        'buttonup' => array(
            'POST',
        ),
        'click' => array(
            'POST',
        ),
        'dismiss_alert' => array(
            'POST',
        ),
        'doubleclick' => array(
            'POST',
        ),
        'execute_sql' => array(
            'POST',
        ),
        'keys' => array(
            'POST',
        ),
        'location' => array(
            'GET',
            'POST',
        ),
        'moveto' => array(
            'POST',
        ),
        'orientation' => array(
            'GET',
            'POST',
        ),
        'window_handle' => array(
            'GET',
        ),
        // see also getWindowHandle()
'window_handles' => array(
            'GET',
        ),
    );
}
RSS feed
Powered by Drupal