annotate vendor/instaclick/php-webdriver/lib/WebDriver/Browser.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
rev   line source
Chris@0 1 <?php
Chris@0 2 /**
Chris@0 3 * Copyright 2011-2017 Fabrizio Branca. All Rights Reserved.
Chris@0 4 *
Chris@0 5 * Licensed under the Apache License, Version 2.0 (the "License");
Chris@0 6 * you may not use this file except in compliance with the License.
Chris@0 7 * You may obtain a copy of the License at
Chris@0 8 *
Chris@0 9 * http://www.apache.org/licenses/LICENSE-2.0
Chris@0 10 *
Chris@0 11 * Unless required by applicable law or agreed to in writing, software
Chris@0 12 * distributed under the License is distributed on an "AS IS" BASIS,
Chris@0 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Chris@0 14 * See the License for the specific language governing permissions and
Chris@0 15 * limitations under the License.
Chris@0 16 *
Chris@0 17 * @package WebDriver
Chris@0 18 *
Chris@0 19 * @author Fabrizio Branca <mail@fabrizio-branca.de>
Chris@0 20 * @author Anthon Pang <apang@softwaredevelopment.ca>
Chris@0 21 */
Chris@0 22
Chris@0 23 namespace WebDriver;
Chris@0 24
Chris@0 25 /**
Chris@0 26 * WebDriver\Browser class
Chris@0 27 *
Chris@0 28 * @package WebDriver
Chris@0 29 */
Chris@0 30 final class Browser
Chris@0 31 {
Chris@0 32 /**
Chris@0 33 * Check browser names used in static functions in the selenium source:
Chris@0 34 * @see http://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java
Chris@0 35 *
Chris@0 36 * Note: Capability array takes these browserNames and not the "browserTypes"
Chris@0 37 *
Chris@0 38 * Also check
Chris@0 39 * @see http://code.google.com/p/selenium/wiki/JsonWireProtocol#Capabilities_JSON_Object
Chris@0 40 */
Chris@0 41 const ANDROID = 'android';
Chris@0 42 const CHROME = 'chrome';
Chris@0 43 const FIREFOX = 'firefox';
Chris@0 44 const HTMLUNIT = 'htmlunit';
Chris@0 45 const IE = 'internet explorer';
Chris@0 46 const INTERNET_EXPLORER = 'internet explorer';
Chris@0 47 const IPHONE = 'iPhone';
Chris@0 48 const IPAD = 'iPad';
Chris@0 49 const OPERA = 'opera';
Chris@0 50 const PHANTOMJS = 'phantomjs';
Chris@0 51 const SAFARI = 'safari';
Chris@0 52 }