How to integrate LambdaTest using iOS Appium JS framework?

How to integrate LambdaTest using iOS Appium JS framework?

Hi Toby-steed,

For iOS, 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 =
  process.env.LT_USERNAME == undefined
    ? "username" //Enter the username here
    : process.env.LT_USERNAME;
accesskey =
  process.env.LT_ACCESS_KEY == undefined
    ? "access_key" //Enter the access_key here
    : process.env.LT_ACCESS_KEY;

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