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

Breadcrumb

  1. Drupal Core 11.1.x

Capability.php

Same filename in this branch
  1. 11.1.x vendor/lullabot/php-webdriver/lib/WebDriver/SauceLabs/Capability.php
  2. 11.1.x vendor/composer/composer/src/Composer/Plugin/Capability/Capability.php

Namespace

WebDriver

File

vendor/lullabot/php-webdriver/lib/WebDriver/Capability.php

View source
<?php


/**
 * @copyright 2011 Fabrizio Branca
 * @license Apache-2.0
 *
 * @package WebDriver
 *
 * @author Fabrizio Branca <mail@fabrizio-branca.de>
 */
namespace WebDriver;


/**
 * WebDriver\Capability class
 *
 * @package WebDriver
 */
final class Capability {
    
    /**
     * Desired capabilities
     *
     * @see https://w3c.github.io/webdriver/webdriver-spec.html#capabilities
     * @see https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/remote/CapabilityType.java
     */
    const BROWSER_NAME = 'browserName';
    const BROWSER_VERSION = 'browserVersion';
    const PLATFORM_NAME = 'platformName';
    const PLATFORM_VERSION = 'platformVersion';
    const ACCEPT_SSL_CERTS = 'acceptSslCerts';
    const PAGE_LOAD_STRATEGY = 'pageLoadStrategy';
    const PROXY = 'proxy';
    const TIMEOUTS = 'timeouts';
    // legacy JSON Wire Protocol
    const VERSION = 'version';
    const PLATFORM = 'platform';
    const JAVASCRIPT_ENABLED = 'javascriptEnabled';
    const TAKES_SCREENSHOT = 'takesScreenshot';
    const HANDLES_ALERTS = 'handlesAlerts';
    const DATABASE_ENABLED = 'databaseEnabled';
    const LOCATION_CONTEXT_ENABLED = 'locationContextEnabled';
    const APPLICATION_CACHE_ENABLED = 'applicationCacheEnabled';
    const BROWSER_CONNECTION_ENABLED = 'browserConnectionEnabled';
    const CSS_SELECTORS_ENABLED = 'cssSelectorsEnabled';
    const WEB_STORAGE_ENABLED = 'webStorageEnabled';
    const ROTATABLE = 'rotatable';
    const NATIVE_EVENTS = 'nativeEvents';
    const UNEXPECTED_ALERT_BEHAVIOUR = 'unexpectedAlertBehaviour';
    const ELEMENT_SCROLL_BEHAVIOR = 'elementScrollBehavior';
    const STRICT_FILE_INTERACTABILITY = 'strictFileInteractability';
    const UNHANDLED_PROMPT_BEHAVIOR = 'unhandlePromptBehavior';
    
    /**
     * Proxy types
     *
     * @see https://w3c.github.io/webdriver/webdriver-spec.html#proxy
     */
    const AUTODETECT = 'autodetect';
    const MANUAL = 'manual';
    const NO_PROXY = 'noproxy';
    const PAC = 'pac';
    const SYSTEM = 'system';
    // legacy JSON Wire Protocol
    const DIRECT = 'direct';

}

Classes

Title Deprecated Summary
Capability WebDriver\Capability class

API Navigation

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