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

Breadcrumb

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

function Element::methods

Overrides AbstractWebDriver::methods

File

vendor/lullabot/php-webdriver/lib/WebDriver/Element.php, line 52

Class

Element
WebDriver\Element class

Namespace

WebDriver

Code

protected function methods() {
    return array(
        'attribute' => array(
            'GET',
        ),
        'clear' => array(
            'POST',
        ),
        'click' => array(
            'POST',
        ),
        'css' => array(
            'GET',
        ),
        'enabled' => array(
            'GET',
        ),
        'name' => array(
            'GET',
        ),
        'property' => array(
            'GET',
        ),
        'rect' => array(
            'GET',
        ),
        'screenshot' => array(
            'GET',
        ),
        'selected' => array(
            'GET',
        ),
        'text' => array(
            'GET',
        ),
        'value' => array(
            'POST',
        ),
        // Legacy JSON Wire Protocol
'displayed' => array(
            'GET',
        ),
        // @see https://w3c.github.io/webdriver/#element-displayedness
'equals' => array(
            'GET',
        ),
        'location' => array(
            'GET',
        ),
        'location_in_view' => array(
            'GET',
        ),
        'size' => array(
            'GET',
        ),
        'submit' => array(
            'POST',
        ),
    );
}

API Navigation

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