@@ -33,44 +33,48 @@ class Capability extends BaseCapability
3333 /**
3434 * Desired capabilities - SauceLabs
3535 *
36- * @see https://saucelabs.com/docs/additional-config
36+ * @see https://wiki. saucelabs.com/display/DOCS/Test+Configuration+Options
3737 */
3838
39- // Job Annotation
40- const NAME = 'name ' ; // Name the job
41- const BUILD = 'build ' ; // Record the build number
42- const TAGS = 'tags ' ; // Tag your jobs
43- const PASSED = 'passed ' ; // Record pass/fail status
44- const CUSTOM_DATA = 'custom-data ' ; // Record custom data
45-
46- // Performance improvements and data collection
47- const RECORD_VIDEO = 'record-video ' ; // Video recording
48- const VIDEO_UPLOAD_ON_PASS = 'video-upload-on-pass ' ; // Video upload on pass
49- const RECORD_SCREENSHOTS = 'record-screenshots ' ; // Record step-by-step screenshots
50- const CAPTURE_HTML = 'capture-html ' ; // HTML source capture
51- const QUIET_EXCEPTIONS = 'webdriver.remote.quietExceptions ' ; // Enable Selenium 2's automatic screenshots
52- const SAUCE_ADVISOR = 'sauce-advisor ' ; // Sauce Advisor
53-
5439 // Selenium specific
55- const SELENIUM_VERSION = 'selenium-version ' ; // Use a specific Selenium version
56- const SINGLE_WINDOW = 'single-window ' ; // Selenium RC's single window mode
57- const USER_EXTENSIONS_URL = 'user-extensions-url ' ; // Selenium RC's user extensions
58- const FIREFOX_PROFILE_URL = 'firefox-profile-url ' ; // Selenium RC's custom Firefox profiles
40+ const SELENIUM_VERSION = 'seleniumVersion ' ; // Use a specific Selenium version
41+ const CHROMEDDRIVER_VERSION = 'chromedriverVersion ' ; // Use a specific Chrome Driver version
42+ const IEDRIVER_VERSION = 'iedriverVersion ' ; // Use a specific Internet Explorer version
43+
44+ // Alerts
45+ const AUTO_ACCEPT_ALERTS = 'autoAcceptAlerts ' ; // Auto accept alerts (for iOS only)
46+ // Job Annotation
47+ const NAME = 'name ' ; // Name the job
48+ const BUILD = 'build ' ; // Record the build number
49+ const TAGS = 'tags ' ; // Tag your jobs
50+ const PASSED = 'passed ' ; // Record pass/fail status
51+ const CUSTOM_DATA = 'customData ' ; // Record custom data
5952
6053 // Timeouts
61- const MAX_DURATION = 'max-duration ' ; // Set maximum test duration
62- const COMMAND_TIMEOUT = 'command-timeout ' ; // Set command timeout
63- const IDLE_TIMEOUT = 'idle-timeout ' ; // Set idle test timeout
54+ const MAX_DURATION = 'maxDuration ' ; // Set maximum test duration
55+ const COMMAND_TIMEOUT = 'commandTimeout ' ; // Set command timeout
56+ const IDLE_TIMEOUT = 'idleTimeout ' ; // Set idle test timeout
6457
6558 // Sauce specific
66- const PRERUN = 'prerun ' ; // Prerun executables
67- const TUNNEL_IDENTIFIER = 'tunnel-identifier ' ; // Use identified tunnel
68- const SCREEN_RESOLUTION = 'screen-resolution ' ; // Use specific screen resolution
69- const DISABLE_POPUP_HANDLER = 'disable-popup-handler ' ; // Disable popup handler
70- const AVOID_PROXY = 'avoid-proxy ' ; // Avoid proxy
71- const DEVICE_ORIENTATION = 'deviceOrientation ' ; // Device orientation (portrait or landscape)
72- const DEVICE_TYPE = 'deviceType ' ; // Device type (phone or tablet)
59+ const VERSION = 'version ' ; // Browser version
60+ const PRERUN = 'prerun ' ; // Prerun executables
61+ const TUNNEL_IDENTIFIER = 'tunnelIdentifier ' ; // Use identified tunnel
62+ const PARENT_TUNNEL = 'parentTunnel ' ; // Shared tunnels
63+ const SCREEN_RESOLUTION = 'screenResolution ' ; // Use specific screen resolution
64+ const TIME_ZONE = 'timeZone ' ; // Time zone
65+ const AVOID_PROXY = 'avoidProxy ' ; // Avoid proxy
66+ const DEVICE_ORIENTATION = 'deviceOrientation ' ; // Device orientation (portrait or landscape)
67+ const DEVICE_TYPE = 'deviceType ' ; // Device type (phone or tablet)
7368
7469 // Job Sharing
75- const PUBLIC_RESULTS = 'public ' ; // Make public, private, or share jobs
70+ const PUBLIC_RESULTS = 'public ' ; // Make public, private, or share jobs
71+
72+ // Performance improvements and data collection
73+ const RECORD_VIDEO = 'recordVideo ' ; // Video recording
74+ const VIDEO_UPLOAD_ON_PASS = 'videoUploadOnPass ' ; // Video upload on pass
75+ const RECORD_SCREENSHOTS = 'recordScreenshots ' ; // Record step-by-step screenshots
76+ const RECORD_LOGS = 'recordLogs ' ; // Log recording
77+ const CAPTURE_HTML = 'captureHtml ' ; // HTML source capture
78+ const PRIORITY = 'priority ' ; // Prioritize jobs
79+ const QUIET_EXCEPTIONS = 'webdriverRemoteQuietExceptions ' ; // Enable Selenium 2's automatic screenshots
7680}
0 commit comments