|
30 | 30 | final class Browser |
31 | 31 | { |
32 | 32 | /** |
33 | | - * Check browser names used in static functions in the selenium source: |
34 | | - * @see http://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java |
35 | | - * |
36 | | - * Note: Capability array takes these browserNames and not the "browserTypes" |
37 | | - * |
38 | | - * Also check |
39 | | - * @see http://code.google.com/p/selenium/wiki/JsonWireProtocol#Capabilities_JSON_Object |
| 33 | + * @see https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/remote/Browser.java |
40 | 34 | */ |
41 | | - const ANDROID = 'android'; |
42 | | - const CHROME = 'chrome'; |
43 | | - const FIREFOX = 'firefox'; |
44 | | - const HTMLUNIT = 'htmlunit'; |
45 | | - const IE = 'internet explorer'; |
46 | | - const INTERNET_EXPLORER = 'internet explorer'; |
47 | | - const IPHONE = 'iPhone'; |
48 | | - const IPAD = 'iPad'; |
49 | | - const OPERA = 'opera'; |
50 | | - const PHANTOMJS = 'phantomjs'; |
51 | | - const SAFARI = 'safari'; |
| 35 | + const CHROME = 'chrome'; |
| 36 | + const EDGE = 'MicrosoftEdge'; |
| 37 | + const FIREFOX = 'firefox'; |
| 38 | + const HTMLUNIT = 'htmlunit'; |
| 39 | + const IE = 'internet explorer'; |
| 40 | + const OPERA = 'opera'; |
| 41 | + const SAFARI = 'safari'; |
| 42 | + const SAFARI_TECH_PREVIEW = 'Safari Technology Preview'; |
| 43 | + |
| 44 | + /** |
| 45 | + * @see https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/webdriver/capabilities.js |
| 46 | + * @deprecated |
| 47 | + */ |
| 48 | + const ANDROID = 'android'; |
| 49 | + const EDGEHTML = 'EdgeHTML'; |
| 50 | + const INTERNET_EXPLORER = 'internet explorer'; |
| 51 | + const IPAD = 'iPad'; |
| 52 | + const IPHONE = 'iPhone'; |
| 53 | + const MSEDGE = 'MicrosoftEdge'; |
| 54 | + const OPERA_BLINK = 'operablink'; |
| 55 | + const PHANTOM_JS = 'phantomjs'; |
| 56 | + const PHANTOMJS = 'phantomjs'; |
52 | 57 | } |
0 commit comments