|
22 | 22 | */ |
23 | 23 | public interface CapabilityType { |
24 | 24 |
|
25 | | - String BROWSER_NAME = "browserName"; |
26 | 25 | /** |
27 | 26 | * @deprecated Use {@link CapabilityType#PLATFORM_NAME} |
28 | 27 | */ |
29 | 28 | @Deprecated |
30 | 29 | String PLATFORM = "platform"; |
31 | | - String PLATFORM_NAME = "platformName"; |
| 30 | + /** |
| 31 | + * @deprecated Non W3C compliant |
| 32 | + */ |
| 33 | + @Deprecated |
32 | 34 | String SUPPORTS_JAVASCRIPT = "javascriptEnabled"; |
| 35 | + /** |
| 36 | + * @deprecated Non W3C compliant |
| 37 | + */ |
| 38 | + @Deprecated |
33 | 39 | String TAKES_SCREENSHOT = "takesScreenshot"; |
34 | 40 | /** |
35 | 41 | * @deprecated Use {@link CapabilityType#BROWSER_VERSION} |
36 | 42 | */ |
37 | 43 | @Deprecated |
38 | 44 | String VERSION = "version"; |
39 | | - String BROWSER_VERSION = "browserVersion"; |
| 45 | + /** |
| 46 | + * @deprecated Use {@link CapabilityType#UNHANDLED_PROMPT_BEHAVIOUR} |
| 47 | + */ |
| 48 | + @Deprecated |
40 | 49 | String SUPPORTS_ALERTS = "handlesAlerts"; |
| 50 | + /** |
| 51 | + * @deprecated Non W3C compliant |
| 52 | + */ |
| 53 | + @Deprecated |
41 | 54 | String SUPPORTS_SQL_DATABASE = "databaseEnabled"; |
| 55 | + /** |
| 56 | + * @deprecated Non W3C compliant |
| 57 | + */ |
| 58 | + @Deprecated |
42 | 59 | String SUPPORTS_LOCATION_CONTEXT = "locationContextEnabled"; |
| 60 | + /** |
| 61 | + * @deprecated Non W3C compliant |
| 62 | + */ |
| 63 | + @Deprecated |
43 | 64 | String SUPPORTS_APPLICATION_CACHE = "applicationCacheEnabled"; |
| 65 | + /** |
| 66 | + * @deprecated Non W3C compliant |
| 67 | + */ |
| 68 | + @Deprecated |
44 | 69 | String SUPPORTS_NETWORK_CONNECTION = "networkConnectionEnabled"; |
45 | | - String PROXY = "proxy"; |
| 70 | + /** |
| 71 | + * @deprecated Non W3C compliant |
| 72 | + */ |
| 73 | + @Deprecated |
46 | 74 | String SUPPORTS_WEB_STORAGE = "webStorageEnabled"; |
| 75 | + /** |
| 76 | + * @deprecated Non W3C compliant |
| 77 | + */ |
| 78 | + @Deprecated |
47 | 79 | String ROTATABLE = "rotatable"; |
| 80 | + /** |
| 81 | + * @deprecated Non W3C compliant |
| 82 | + */ |
| 83 | + @Deprecated |
48 | 84 | String APPLICATION_NAME = "applicationName"; |
49 | | - // Enable this capability to accept all SSL certs by defaults. |
| 85 | + /** |
| 86 | + * @deprecated Use {@link CapabilityType#ACCEPT_INSECURE_CERTS} |
| 87 | + */ |
| 88 | + @Deprecated |
50 | 89 | String ACCEPT_SSL_CERTS = "acceptSslCerts"; |
51 | | - String ACCEPT_INSECURE_CERTS = "acceptInsecureCerts"; |
| 90 | + /** |
| 91 | + * @deprecated Non W3C compliant |
| 92 | + */ |
| 93 | + @Deprecated |
52 | 94 | String HAS_NATIVE_EVENTS = "nativeEvents"; |
| 95 | + /** |
| 96 | + * @deprecated Use {@link CapabilityType#UNHANDLED_PROMPT_BEHAVIOUR} |
| 97 | + */ |
| 98 | + @Deprecated |
53 | 99 | String UNEXPECTED_ALERT_BEHAVIOUR = "unexpectedAlertBehaviour"; |
54 | | - String UNHANDLED_PROMPT_BEHAVIOUR = "unhandledPromptBehavior"; |
| 100 | + /** |
| 101 | + * @deprecated Non W3C compliant |
| 102 | + */ |
| 103 | + @Deprecated |
55 | 104 | String ELEMENT_SCROLL_BEHAVIOR = "elementScrollBehavior"; |
| 105 | + /** |
| 106 | + * @deprecated Non W3C compliant |
| 107 | + */ |
| 108 | + @Deprecated |
56 | 109 | String HAS_TOUCHSCREEN = "hasTouchScreen"; |
| 110 | + /** |
| 111 | + * @deprecated Non W3C compliant |
| 112 | + */ |
| 113 | + @Deprecated |
57 | 114 | String OVERLAPPING_CHECK_DISABLED = "overlappingCheckDisabled"; |
| 115 | + /** |
| 116 | + * @deprecated Non W3C compliant |
| 117 | + */ |
| 118 | + @Deprecated |
58 | 119 | String STRICT_FILE_INTERACTABILITY = "strictFileInteractability"; |
59 | | - String TIMEOUTS = "timeouts"; |
60 | 120 |
|
| 121 | + /** |
| 122 | + * @deprecated Non W3C compliant |
| 123 | + */ |
| 124 | + @Deprecated |
61 | 125 | String LOGGING_PREFS = "loggingPrefs"; |
62 | 126 |
|
| 127 | + /** |
| 128 | + * @deprecated Non W3C compliant |
| 129 | + */ |
| 130 | + @Deprecated |
63 | 131 | String ENABLE_PROFILING_CAPABILITY = "webdriver.logging.profiler.enabled"; |
64 | 132 |
|
| 133 | + |
| 134 | + String BROWSER_NAME = "browserName"; |
| 135 | + String PLATFORM_NAME = "platformName"; |
| 136 | + String BROWSER_VERSION = "browserVersion"; |
| 137 | + String ACCEPT_INSECURE_CERTS = "acceptInsecureCerts"; |
65 | 138 | String PAGE_LOAD_STRATEGY = "pageLoadStrategy"; |
| 139 | + String PROXY = "proxy"; |
| 140 | + String SET_WINDOW_RECT = "setWindowRect"; |
| 141 | + String TIMEOUTS = "timeouts"; |
| 142 | + String UNHANDLED_PROMPT_BEHAVIOUR = "unhandledPromptBehavior"; |
| 143 | + |
66 | 144 |
|
| 145 | + /** |
| 146 | + * @deprecated Non W3C compliant |
| 147 | + */ |
| 148 | + @Deprecated |
67 | 149 | interface ForSeleniumServer { |
| 150 | + |
| 151 | + /** |
| 152 | + * @deprecated Non W3C compliant |
| 153 | + */ |
| 154 | + @Deprecated |
68 | 155 | String AVOIDING_PROXY = "avoidProxy"; |
| 156 | + /** |
| 157 | + * @deprecated Non W3C compliant |
| 158 | + */ |
| 159 | + @Deprecated |
69 | 160 | String ONLY_PROXYING_SELENIUM_TRAFFIC = "onlyProxySeleniumTraffic"; |
| 161 | + /** |
| 162 | + * @deprecated Non W3C compliant |
| 163 | + */ |
| 164 | + @Deprecated |
70 | 165 | String PROXYING_EVERYTHING = "proxyEverything"; |
| 166 | + /** |
| 167 | + * @deprecated Non W3C compliant |
| 168 | + */ |
| 169 | + @Deprecated |
71 | 170 | String PROXY_PAC = "proxy_pac"; |
| 171 | + /** |
| 172 | + * @deprecated Non W3C compliant |
| 173 | + */ |
| 174 | + @Deprecated |
72 | 175 | String ENSURING_CLEAN_SESSION = "ensureCleanSession"; |
73 | 176 | } |
74 | 177 | } |
0 commit comments