LambdaTest Service
wdio-lambdatest-service is a 3rd party package, for more information please see GitHub | npm
A WebdriverIO service that manages tunnel and job metadata for LambdaTest users.
Installation
npm i wdio-lambdatest-service --save-dev
Instructions on how to install WebdriverIO
can be found here.
Configuration
WebdriverIO has LambdaTest support out of the box. You should simply set user
and key
in your wdio.conf.js
file. To enable the feature for app automation, set product: 'appAutomation'
in your wdio.conf.js
file. This service plugin provides supports for LambdaTest Tunnel. Set tunnel: true
also to activate this feature.
// wdio.conf.js
exports.config = {
// ...
user: process.env.LT_USERNAME,
key: process.env.LT_ACCESS_KEY,
logFile : './logDir/api.log',
product : 'appAutomation',
services: [
['lambdatest', {
tunnel: true
}]
],
// ...
};