getSupportedPlatforms: Get Supported Platforms

Description Usage Arguments See Also Examples

Description

Get a list of objects describing all the OS and browser platforms currently supported on Sauce Labs. Choose the automation API you need, bearing in mind that WebDriver and Selenium RC are each compatible with a different set of platforms.

Usage

1
getSupportedPlatforms(account, autoAPI = "webdriver", ...)

Arguments

account

An object of class "account". An account object see account.

autoAPI

Accepted Values for autoAPI "all", "appium", "webdriver". Defaults to "webdriver"

...

Additonal function arguments - Currently unused.

See Also

Other infoMethods: getAppiumEolDates, getSauceLabsStatus

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Not run: 
myAcc <- account()
getSauceLabsStatus(myAcc)
#$wait_time
#[1] 1580.536
#
#$service_operational
#[1] TRUE
#
#$status_message
#[1] "Basic service status checks passed."
supportedPlatforms <- getSupportedPlatforms(myAcc)
supportedPlatforms[os == "Linux" & api_name == "chrome" & short_version > 44
                   , .(api_name, long_version)]
#api_name  long_version
#1:   chrome 45.0.2454.85.
#2:   chrome  46.0.2490.71
#3:   chrome  47.0.2526.73
#4:   chrome  48.0.2564.97
getAppiumEolDates(myAcc)
#$`1.4.0`
#[1] "2016-04-09 PDT"
#
#$`1.4.3`
#[1] "2016-04-09 PDT"
#....

## End(Not run)

RSauceLabs documentation built on May 2, 2019, 2:08 a.m.