Skip to content

Commit

Permalink
Use the bs-local.com hostname on OS X workers
Browse files Browse the repository at this point in the history
Ref #263.
  • Loading branch information
Krinkle committed May 29, 2024
1 parent 019946e commit 529d9db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ function getTestBrowserInfo(browserString, path) {

function buildTestUrl(test_path, worker_key, browser) {
var host;
if (browser.os.toLowerCase() === 'ios' ){
// https://github.com/browserstack/browserstack-runner/issues/263
if (browser.os.toLowerCase() === 'ios' || browser.os === 'OS X') {
host = 'bs-local.com';
} else {
host = 'localhost';
Expand Down

0 comments on commit 529d9db

Please sign in to comment.