npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@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

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