@datafire/lambdatest

3.0.0 • Public • Published

@datafire/lambdatest

Client library for LambdaTest Screenshots API Documentation

Installation and Usage

npm install --save @datafire/lambdatest
let lambdatest = require('@datafire/lambdatest').create({
  username: "",
  password: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

.post

Start Screenshot Test

lambdatest..post({
  "body": {}
}, context)

Input

Output

devices

Fetch all os devices combinations available on lambdatest platform.

lambdatest.devices({}, context)

Input

  • input object
    • os string: Fetch details for a particular OS

Output

os_browsers.get

Fetch all os browsers combinations available on lambdatest platform.

lambdatest.os_browsers.get({}, context)

Input

  • input object
    • os string: Fetch details for a particular OS

Output

Profiles

Fetch login profiles

lambdatest.Profiles(null, context)

Input

This action has no parameters

Output

Resolutions

Fetch all available resolution on different OS

lambdatest.Resolutions(null, context)

Input

This action has no parameters

Output

stop.test_id.put

Stop specified screenshot test

lambdatest.stop.test_id.put({
  "test_id": ""
}, context)

Input

  • input object
    • test_id required string: Test ID that details you want to stop

Output

screenshots

To fetch specified screenshot details

lambdatest.screenshots({
  "test_id": ""
}, context)

Input

  • input object
    • test_id required string: Test ID that details you want to fetch

Output

ZippedScreenshots

Fetch Zipped Screenshots

lambdatest.ZippedScreenshots({
  "test_id": ""
}, context)

Input

  • input object
    • test_id required string: Test ID that Zipped Screenshots you want to fetch

Output

Definitions

AccessDenied

  • AccessDenied object
    • message string

Forbidden

  • Forbidden object
    • message string

android-7.0

  • android-7.0 object
    • devices array
      • items string

android-9.0

  • android-9.0 object
    • devices array
      • items string

browsers

  • browsers object
    • chrome array
      • items string
    • firefox array
      • items string
    • opera array
      • items string

ios-12.0

  • ios-12.0 object
    • devices array
      • items string

os-browsers

os-devices

profiles

  • profiles object
    • profiles array
      • items object
        • name string
        • profile_config object
          • credentials object
            • password string
            • username string
          • locators object
            • password object
            • submit object
            • username object
          • login_url string
          • profile_name string

res_list

  • res_list array
    • items string

resolutions

screenshot-details

screenshot-not-found

  • screenshot-not-found object
    • message string
    • reason string

screenshot-payload

  • screenshot-payload object
    • callback_url string
    • configs object
    • defer_time number
    • email boolean
    • mac_res string
    • password string
    • tunnel boolean
    • tunnel_identifier string
    • url string
    • username string
    • win_res string

screenshot-test-response

  • screenshot-test-response object
    • callback_url string
    • defer_time number
    • screenshots array
    • test_id string
    • test_status string
    • url string

screenshot-type

  • screenshot-type object
    • activity_id string
    • browser string
    • browser_version string
    • os string
    • resolution string
    • screenshot_url string
    • status string
    • thumbnail_url string

start-screenshot-bad-request

  • start-screenshot-bad-request object
    • message string

start-screenshot-success

  • start-screenshot-success object
    • test_id string

stop-screenshot-not-found

  • stop-screenshot-not-found object
    • message string

stop-screenshot-success

  • stop-screenshot-success object
    • message string

zipped-screenshots-success

  • zipped-screenshots-success object
    • url string

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/lambdatest

Weekly Downloads

1

Version

3.0.0

License

MIT

Unpacked Size

33 kB

Total Files

4

Last publish

Collaborators

  • datafire