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
{{ message }}
This repository was archived by the owner on May 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 27, 2026. It is now read-only.
TypeError: Cannot read property 'browser_version' of undefined #243
Test against firefox_45, safari_9, safari_10, safari_11.
Actual Behavior
/browserstack-runner/bin/cli.js:401
if (browser.browser_version === 'latest') {
^
TypeError: Cannot read property 'browser_version' of undefined
at /qunit/node_modules/browserstack-runner/bin/cli.js
at Array.forEach (<anonymous>)
at /qunit/node_modules/browserstack-runner/bin/cli.js
at Timeout._onTimeout (/qunit/node_modules/browserstack-runner/lib/local.js)
I thought that 9 means 9.x but it actually means 9.0 so the user has to make sure the version matches exactly with that of https://www.browserstack.com/list-of-browsers-and-platforms/js_testing. I'll leave aside whether that is the intend behaviour but at the least we should tell make sure browserstack-runner does not crash and gives the user a useful error message.
Activity
Krinkle commentedon Apr 12, 2021
After a long time debugging and narrowing down, I found that the following happens for
safari_9:I thought that
9means9.xbut it actually means9.0so the user has to make sure the version matches exactly with that of https://www.browserstack.com/list-of-browsers-and-platforms/js_testing. I'll leave aside whether that is the intend behaviour but at the least we should tell make surebrowserstack-runnerdoes not crash and gives the user a useful error message.Fix crash from property 'browser_version' undefined