@datafire/lambdatest
v3.0.0
Published
DataFire integration for LambdaTest Screenshots API Documentation
Downloads
4
Readme
@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
- input
object
- body required screenshot-payload
Output
- output start-screenshot-success
devices
Fetch all os devices combinations available on lambdatest platform.
lambdatest.devices({}, context)
Input
- input
object
- os
string
: Fetch details for a particular OS
- os
Output
- output os-devices
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
- os
Output
- output os-browsers
Profiles
Fetch login profiles
lambdatest.Profiles(null, context)
Input
This action has no parameters
Output
- output profiles
Resolutions
Fetch all available resolution on different OS
lambdatest.Resolutions(null, context)
Input
This action has no parameters
Output
- output resolutions
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
- test_id required
Output
- output stop-screenshot-success
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
- test_id required
Output
- output screenshot-details
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
- test_id required
Output
- output zipped-screenshots-success
Definitions
AccessDenied
- AccessDenied
object
- message
string
- message
Forbidden
- Forbidden
object
- message
string
- message
android-7.0
- android-7.0
object
- devices
array
- items
string
- items
- devices
android-9.0
- android-9.0
object
- devices
array
- items
string
- items
- devices
browsers
- browsers
object
- chrome
array
- items
string
- items
- firefox
array
- items
string
- items
- opera
array
- items
string
- items
- chrome
ios-12.0
- ios-12.0
object
- devices
array
- items
string
- items
- devices
os-browsers
os-devices
- os-devices
object
- android 7.0 android-7.0
- ios 12.0 ios-12.0
profiles
- 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
- res_list
array
- items
string
- items
resolutions
screenshot-details
- screenshot-details screenshot-test-response
screenshot-not-found
- screenshot-not-found
object
- message
string
- reason
string
- message
screenshot-payload
- screenshot-payload
object
screenshot-test-response
- 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
- 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
- start-screenshot-bad-request
object
- message
string
- message
start-screenshot-success
- start-screenshot-success
object
- test_id
string
- test_id
stop-screenshot-not-found
- stop-screenshot-not-found
object
- message
string
- message
stop-screenshot-success
- stop-screenshot-success
object
- message
string
- message
zipped-screenshots-success
- zipped-screenshots-success
object
- url
string
- url