Your IP : 216.73.216.220


Current Path : /var/www/html/vendor/php-webdriver/webdriver/lib/
Upload File :
Current File : /var/www/html/vendor/php-webdriver/webdriver/lib/WebDriverCapabilities.php

<?php

namespace Facebook\WebDriver;

interface WebDriverCapabilities
{
    /**
     * @return string The name of the browser.
     */
    public function getBrowserName();

    /**
     * @param string $name
     * @return mixed The value of a capability.
     */
    public function getCapability($name);

    /**
     * @return string The name of the platform.
     */
    public function getPlatform();

    /**
     * @return string The version of the browser.
     */
    public function getVersion();

    /**
     * @param string $capability_name
     * @return bool Whether the value is not null and not false.
     */
    public function is($capability_name);

    /**
     * @todo Remove in next major release (BC)
     * @deprecated All browsers are always JS enabled except HtmlUnit and it's not meaningful to disable JS execution.
     * @return bool Whether javascript is enabled.
     */
    public function isJavascriptEnabled();

    // TODO: Add in next major release (BC)
    ///**
    // * @return array
    // */
    //public function toArray();
}