How can I fix an exception in Nightwatch tests?

I am getting this exception with my nightwatch tests on LT:

Error while running .setTimeoutType() protocol action: invalid argument – Unknown timeout type in ‘timeouts’: ‘type’

Command I used: browser.timeouts(‘implicit’, 10000)

Hi Rhian,

You can use browser.timeoutsImplicitWait(10000) // set the implicit timeout value (used by assert/verify)

Also please make sure you use the following capability in your test :

enableCustomTranslation : true