You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions per the Readme to implement this into an existing project. The tests are now all running in Browserstack, but how can I set this up to specify running the tests using Browserstack or local webdirver for each run. So for example if I'm debugging/creating a test I would like to run it against my local browser, but when I'm actually performing tests either on my local machine or on a CI/CD I would like them to run on Browserstack.
I was initially trying to accomplish this by creating an if statement based on a TestNG parameter in the setup code, but I'm not sure how to get it to work. Something like this:
I followed the instructions per the Readme to implement this into an existing project. The tests are now all running in Browserstack, but how can I set this up to specify running the tests using Browserstack or local webdirver for each run. So for example if I'm debugging/creating a test I would like to run it against my local browser, but when I'm actually performing tests either on my local machine or on a CI/CD I would like them to run on Browserstack.
I was initially trying to accomplish this by creating an if statement based on a TestNG parameter in the setup code, but I'm not sure how to get it to work. Something like this:
The text was updated successfully, but these errors were encountered: