Client library for LambdaTest Screenshots API Documentation
npm install --save @datafire/lambdatest
let lambdatest = require('@datafire/lambdatest').create({
username: "",
password: ""
});
.then(data => {
console.log(data);
});
Start Screenshot Test
lambdatest..post({
"body": {}
}, context)
- input
object
- body required screenshot-payload
- output start-screenshot-success
Fetch all os devices combinations available on lambdatest platform.
lambdatest.devices({}, context)
- input
object
- os
string
: Fetch details for a particular OS
- os
- output os-devices
Fetch all os browsers combinations available on lambdatest platform.
lambdatest.os_browsers.get({}, context)
- input
object
- os
string
: Fetch details for a particular OS
- os
- output os-browsers
Fetch login profiles
lambdatest.Profiles(null, context)
This action has no parameters
- output profiles
Fetch all available resolution on different OS
lambdatest.Resolutions(null, context)
This action has no parameters
- output resolutions
Stop specified screenshot test
lambdatest.stop.test_id.put({
"test_id": ""
}, context)
- input
object
- test_id required
string
: Test ID that details you want to stop
- test_id required
- output stop-screenshot-success
To fetch specified screenshot details
lambdatest.screenshots({
"test_id": ""
}, context)
- input
object
- test_id required
string
: Test ID that details you want to fetch
- test_id required
- output screenshot-details
Fetch Zipped Screenshots
lambdatest.ZippedScreenshots({
"test_id": ""
}, context)
- input
object
- test_id required
string
: Test ID that Zipped Screenshots you want to fetch
- test_id required
- output zipped-screenshots-success
- AccessDenied
object
- message
string
- message
- Forbidden
object
- message
string
- message
- android-7.0
object
- devices
array
- items
string
- items
- devices
- android-9.0
object
- devices
array
- items
string
- items
- devices
- browsers
object
- chrome
array
- items
string
- items
- firefox
array
- items
string
- items
- opera
array
- items
string
- items
- chrome
- ios-12.0
object
- devices
array
- items
string
- items
- devices
- os-devices
object
- android 7.0 android-7.0
- ios 12.0 ios-12.0
- profiles
object
- profiles
array
- items
object
- name
string
- profile_config
object
- credentials
object
- password
string
- username
string
- password
- locators
object
- password
object
- submit
object
- username
object
- password
- login_url
string
- profile_name
string
- credentials
- name
- items
- profiles
- res_list
array
- items
string
- items
- screenshot-details screenshot-test-response
- screenshot-not-found
object
- message
string
- reason
string
- message
- screenshot-payload
object
- screenshot-test-response
object
- callback_url
string
- defer_time
number
- screenshots
array
- items screenshot-type
- test_id
string
- test_status
string
- url
string
- callback_url
- screenshot-type
object
- activity_id
string
- browser
string
- browser_version
string
- os
string
- resolution
string
- screenshot_url
string
- status
string
- thumbnail_url
string
- activity_id
- start-screenshot-bad-request
object
- message
string
- message
- start-screenshot-success
object
- test_id
string
- test_id
- stop-screenshot-not-found
object
- message
string
- message
- stop-screenshot-success
object
- message
string
- message
- zipped-screenshots-success
object
- url
string
- url