Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.
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

Closed

Description

@Krinkle

Expected Behavior

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)

browserstack.json

  "browsers": [
    "safari_9"
  ],

Platform details

  • browserstack-runner version: 0.9.4
  • node version: 10.x

Activity

  1. Krinkle commented on Apr 12, 2021

    @Krinkle
    ContributorAuthor

    After a long time debugging and narrowing down, I found that the following happens for safari_9:

    d032d59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions