How to integrate LambdaTest using Android Appium JS framework?

How to integrate LambdaTest using Android Appium JS framework?

Hi Toby-steed,

For Android, you can integrate LambdaTest in your Appium script by setting your LambdaTest Username and Access Key in environment variables as well as the hub URL.

/**
 * Username to be used for running the test.
 */
const username = process.env.LT_USERNAME || "username";

/**
 * The access key to be used for running test test.
 */
const accessKey = process.env.LT_ACCESS_KEY || "accessKey";

--------------------
const driver = wd.promiseRemote(
  `https://${username}:${accessKey}@mobile-hub.lambdatest.com/wd/hub`