Mercurial > hg > cmmr2012-drupal-site
comparison vendor/instaclick/php-webdriver/lib/WebDriver/Capability.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 /** | |
3 * Copyright 2011-2017 Fabrizio Branca. All Rights Reserved. | |
4 * | |
5 * Licensed under the Apache License, Version 2.0 (the "License"); | |
6 * you may not use this file except in compliance with the License. | |
7 * You may obtain a copy of the License at | |
8 * | |
9 * http://www.apache.org/licenses/LICENSE-2.0 | |
10 * | |
11 * Unless required by applicable law or agreed to in writing, software | |
12 * distributed under the License is distributed on an "AS IS" BASIS, | |
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
14 * See the License for the specific language governing permissions and | |
15 * limitations under the License. | |
16 * | |
17 * @package WebDriver | |
18 * | |
19 * @author Fabrizio Branca <mail@fabrizio-branca.de> | |
20 * @author Anthon Pang <apang@softwaredevelopment.ca> | |
21 */ | |
22 | |
23 namespace WebDriver; | |
24 | |
25 /** | |
26 * WebDriver\Capability class | |
27 * | |
28 * @package WebDriver | |
29 */ | |
30 class Capability | |
31 { | |
32 /** | |
33 * Desired capabilities | |
34 * | |
35 * @see http://code.google.com/p/selenium/source/browse/trunk/java/client/src/org/openqa/selenium/remote/CapabilityType.java | |
36 * @see http://code.google.com/p/selenium/wiki/JsonWireProtocol#Capabilities_JSON_Object | |
37 */ | |
38 const BROWSER_NAME = 'browserName'; | |
39 const VERSION = 'version'; | |
40 const PLATFORM = 'platform'; | |
41 const JAVASCRIPT_ENABLED = 'javascriptEnabled'; | |
42 const TAKES_SCREENSHOT = 'takesScreenshot'; | |
43 const HANDLES_ALERTS = 'handlesAlerts'; | |
44 const DATABASE_ENABLED = 'databaseEnabled'; | |
45 const LOCATION_CONTEXT_ENABLED = 'locationContextEnabled'; | |
46 const APPLICATION_CACHE_ENABLED = 'applicationCacheEnabled'; | |
47 const BROWSER_CONNECTION_ENABLED = 'browserConnectionEnabled'; | |
48 const CSS_SELECTORS_ENABLED = 'cssSelectorsEnabled'; | |
49 const WEB_STORAGE_ENABLED = 'webStorageEnabled'; | |
50 const ROTATABLE = 'rotatable'; | |
51 const ACCEPT_SSL_CERTS = 'acceptSslCerts'; | |
52 const NATIVE_EVENTS = 'nativeEvents'; | |
53 const PROXY = 'proxy'; | |
54 const UNEXPECTED_ALERT_BEHAVIOUR = 'unexpectedAlertBehaviour'; | |
55 const ELEMENT_SCROLL_BEHAVIOR = 'elementScrollBehavior'; | |
56 | |
57 /** | |
58 * Proxy types | |
59 * | |
60 * @see http://code.google.com/p/selenium/wiki/JsonWireProtocol#Proxy_JSON_Object | |
61 */ | |
62 const DIRECT = 'direct'; | |
63 const MANUAL = 'manual'; | |
64 const PAC = 'pac'; | |
65 const AUTODETECT = 'autodetect'; | |
66 const SYSTEM = 'system'; | |
67 } |