How do I pass Firefox options in NightwatchJS?
Hey Devan,
To pass Firefox options in NightwatchJS, use the below code snippet:
default:
paths:
features: '../features/single'
bootstrap: '../features/bootstrap'
context:
parameters:
lambdatest:
server: "hub.lambdatest.com"
user: LT_USERNAME
key: LT_ACCESS_KEY
capabilities:
"LT:Options": {
"platformName": "MacOS Monterey",
"project": "Untitled",
"plugin": "php-behat"
}
environments:
-
"browserName": "Firefox",
"browserVersion": "103.0"
Ref: javascript - Set Firefox Preferences in Nightwatch - Stack Overflow