Skip to content

Commit

Permalink
add check for browserstack turboscale urls (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhlagrwl committed Dec 6, 2023
1 parent fdfc7dc commit 351420d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transport/factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = class TransportFactory {
}

static usingBrowserstack(settings) {
return settings.webdriver.host && settings.webdriver.host.endsWith('.browserstack.com');
return settings.webdriver.host && (settings.webdriver.host.endsWith('.browserstack.com') || settings.webdriver.host.endsWith('.browserstack-ats.com'));
}

static getBrowserName(nightwatchInstance) {
Expand Down

0 comments on commit 351420d

Please sign in to comment.