X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Finstaclick%2Fphp-webdriver%2Flib%2FWebDriver%2FSauceLabs%2FCapability.php;fp=vendor%2Finstaclick%2Fphp-webdriver%2Flib%2FWebDriver%2FSauceLabs%2FCapability.php;h=dc326e1bb3a71f45b1b88bbbeea1b2c83253e63f;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hp=0000000000000000000000000000000000000000;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68;p=yaffs-website diff --git a/vendor/instaclick/php-webdriver/lib/WebDriver/SauceLabs/Capability.php b/vendor/instaclick/php-webdriver/lib/WebDriver/SauceLabs/Capability.php new file mode 100644 index 000000000..dc326e1bb --- /dev/null +++ b/vendor/instaclick/php-webdriver/lib/WebDriver/SauceLabs/Capability.php @@ -0,0 +1,76 @@ + + */ + +namespace WebDriver\SauceLabs; + +use WebDriver\Capability as BaseCapability; + +/** + * WebDriver\SauceLabs\Capability class + * + * @package WebDriver + */ +class Capability extends BaseCapability +{ + /** + * Desired capabilities - SauceLabs + * + * @see https://saucelabs.com/docs/additional-config + */ + + // Job Annotation + const NAME = 'name'; // Name the job + const BUILD = 'build'; // Record the build number + const TAGS = 'tags'; // Tag your jobs + const PASSED = 'passed'; // Record pass/fail status + const CUSTOM_DATA = 'custom-data'; // Record custom data + + // Performance improvements and data collection + const RECORD_VIDEO = 'record-video'; // Video recording + const VIDEO_UPLOAD_ON_PASS = 'video-upload-on-pass'; // Video upload on pass + const RECORD_SCREENSHOTS = 'record-screenshots'; // Record step-by-step screenshots + const CAPTURE_HTML = 'capture-html'; // HTML source capture + const QUIET_EXCEPTIONS = 'webdriver.remote.quietExceptions'; // Enable Selenium 2's automatic screenshots + const SAUCE_ADVISOR = 'sauce-advisor'; // Sauce Advisor + + // Selenium specific + const SELENIUM_VERSION = 'selenium-version'; // Use a specific Selenium version + const SINGLE_WINDOW = 'single-window'; // Selenium RC's single window mode + const USER_EXTENSIONS_URL = 'user-extensions-url'; // Selenium RC's user extensions + const FIREFOX_PROFILE_URL = 'firefox-profile-url'; // Selenium RC's custom Firefox profiles + + // Timeouts + const MAX_DURATION = 'max-duration'; // Set maximum test duration + const COMMAND_TIMEOUT = 'command-timeout'; // Set command timeout + const IDLE_TIMEOUT = 'idle-timeout'; // Set idle test timeout + + // Sauce specific + const PRERUN = 'prerun'; // Prerun executables + const TUNNEL_IDENTIFIER = 'tunnel-identifier'; // Use identified tunnel + const SCREEN_RESOLUTION = 'screen-resolution'; // Use specific screen resolution + const DISABLE_POPUP_HANDLER = 'disable-popup-handler'; // Disable popup handler + const AVOID_PROXY = 'avoid-proxy'; // Avoid proxy + const DEVICE_ORIENTATION = 'deviceOrientation'; // Device orientation (portrait or landscape) + const DEVICE_TYPE = 'deviceType'; // Device type (phone or tablet) + + // Job Sharing + const PUBLIC_RESULTS = 'public'; // Make public, private, or share jobs +}