1<?php
2
3namespace Facebook\WebDriver;
4
5interface WebDriverCapabilities
6{
7    /**
8     * @return string The name of the browser.
9     */
10    public function getBrowserName();
11
12    /**
13     * @param string $name
14     * @return mixed The value of a capability.
15     */
16    public function getCapability($name);
17
18    /**
19     * @return string The name of the platform.
20     */
21    public function getPlatform();
22
23    /**
24     * @return string The version of the browser.
25     */
26    public function getVersion();
27
28    /**
29     * @param string $capability_name
30     * @return bool Whether the value is not null and not false.
31     */
32    public function is($capability_name);
33
34    /**
35     * @todo Remove in next major release (BC)
36     * @deprecated All browsers are always JS enabled except HtmlUnit and it's not meaningful to disable JS execution.
37     * @return bool Whether javascript is enabled.
38     */
39    public function isJavascriptEnabled();
40
41    // TODO: Add in next major release (BC)
42    ///**
43    // * @return array
44    // */
45    //public function toArray();
46}
47