Adds support for the new CrossBrowserTesting.com Selenium Capabilites.
New environment variables have been added to correspond with the capabilities
| Variable | Description |
|---|---|
| CBT_ISMOBILE | "true" if the browser is mobile, otherwise "false" |
| CBT_DEVICENAME | The name of the device. Should match the browserName such that Chrome is for Androids, and Safari is for iPads and iPhones. |
| CBT_PLATFORMNAME | This field is a convention for matching appium-style capabilities but is not required by our system. It is a good idea to include with scripts that may be run against different remote servers. |
| CBT_PLATFORMVERSION | The version of the mobile OS. |
| CBT_DEVICEORIENTATION | landscape, portrait |
| CBT_BROWSERNAME | The name of the browser for your test. |
| CBT_VERSION | The browser version for the browser name specified |
| CBT_PLATFORM | Platform selected for testing. If no platform is selected |
| CBT_SCREENRESOLUTION | The preferred resolution of the OS for the test. |
| CBT_BROWSERS | an array of JSON objects ie. [{"platformVersion":"11.0","browserName":"Safari","deviceOrientation":"portrait","isMobile":true,"platformName":"iOS","deviceName":"iPhone 8 Simulator"},{"browserName":"Safari","isMobile":false,"screenResolution":"1024x768","version":"11","platform":"Mac OSX 10.13"}] |