MyNixOS website logo
Description

R Wrapper for 'SauceLabs' REST API.

Retrieve, update, delete job information from <https://saucelabs.com/>. Poll the 'SauceLabs' services current status and access supported platforms. Send and retrieve files from 'SauceLabs' and manage tunnels associated with 'SauceConnect'.

RSauceLabs

CRAN versionTravis build statusCoverage
Build Statuscodecov
An R Wrapper for SauceLabs REST API

Introduction

RSauceLabs is an R Wrapper for SauceLabs REST API.

Install

To install the current developement version of RSauceLabs run:

devtools::install_github("johndharrison/RSauceLabs")

Getting started

The SauceLabs API requires an authenticated user for most API calls. RSauceLabs provides an account function which returns an authentication profile which other functions in the package utilise:

SLAccount <- account()
> SLAccount
Sauce Labs Account:
SauceLabs username: seleniumPipes

By default the function looks for the username and password for SauceLabs authentication as environment variables "SLUSER" and "SLPASS" respectively. Using the account credentials other functions can be called:

myJobs <- getJobs(SLAccount, limit = 2, getFullJobs = TRUE)
> myJobs$data
   browser_short_version                                                             video_url
1:                    27 https://saucelabs.com/jobs/8b06fed2992d4c6781b947f59ae1a58e/video.flv
2:                    48 https://saucelabs.com/jobs/144641aa1c594dcab6680f3e69103b15/video.flv
   creation_time browser_version         owner                               id record_screenshots
1:    1474738526           27.0. seleniumPipes 8b06fed2992d4c6781b947f59ae1a58e               TRUE
2:    1474738526    48.0.2564.97 seleniumPipes 144641aa1c594dcab6680f3e69103b15               TRUE
   record_video build passed public   end_time   status
1:         TRUE    NA   TRUE public 1474738551 complete
2:         TRUE    NA  FALSE public 1474738541 complete
                                                                           log_url start_time
1: https://saucelabs.com/jobs/8b06fed2992d4c6781b947f59ae1a58e/selenium-server.log 1474738526
2: https://saucelabs.com/jobs/144641aa1c594dcab6680f3e69103b15/selenium-server.log 1474738526
   proxied modification_time          name commands_not_successful consolidated_status
1:   FALSE        1474738551 jasmine tests                       2              passed
2:   FALSE        1474738541 jasmine tests                       1              failed
   assigned_tunnel_id error           os breakpointed      browser
1:                 NA    NA Windows 2008           NA      firefox
2:                 NA    NA        Linux           NA googlechrome
Metadata

Version

0.1.6

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows