I have a wdio + cucumber framework + typescript + appium
tests that run against a native app.
In the beforeScenario
hook, I want to detect if I am running on browserstack or my local machine.
How can I do that?.
From what I see, I do not have access to the browser
object and the driver
object does not have access to config
(so I could see if the browserstack service is listed).