Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for specific browser versions #44

Open
bennycode opened this issue Feb 19, 2015 · 1 comment
Open

Support for specific browser versions #44

bennycode opened this issue Feb 19, 2015 · 1 comment

Comments

@bennycode
Copy link

Hello,

In the company where I work, we use the "se-interpreter" to run SeleniumBuilder tests on our web application builds. It's such a great tool and I am so happy that it is so simple to use.

Is it possible to add a specific browser version to the "browserOptions"? Because with the setup we run now, it always tests the latest browser version available on Sauce Labs.

Our config is:

{
  "type": "interpreter-config",
  "configurations": [
    {
      "settings": [
        {
          "driverOptions": {
            "host": "ondemand.saucelabs.com",
            "port": 80
          },
          "browserOptions": {
            "browserName": "firefox",
            "username": "${SAUCE_USERNAME}",
            "accessKey": "${SAUCE_ACCESS_KEY}"
          }
        }
      ],
      "scripts": [
        "selenium/tests/*"
      ]
    }
  ]
}
@bennycode
Copy link
Author

Ok, I found what I was searching for. There is version and platform which can be defined within browserOptions.

The values for version and platform can be checked on the Sauce Labs Platform Configurator.

Example

"settings": [
    {
        "driverOptions": {
            "host": "ondemand.saucelabs.com",
            "port": 80
        },
        "browserOptions": {
            "browserName": "firefox",
            "username": "${SAUCE_USERNAME}",
            "accessKey": "${SAUCE_ACCESS_KEY}"
        }
    },
    {
        "driverOptions": {
            "host": "ondemand.saucelabs.com",
            "port": 80
        },
        "browserOptions": {
            "platform": "Windows 7",
            "browserName": "chrome",
            "version": "26.0",
            "username": "${SAUCE_USERNAME}",
            "accessKey": "${SAUCE_ACCESS_KEY}"
        }
    }
]

It might be worth mentioning these properties in your README.MD file.

Keep up the good work and thanks for se-interpreter. It's great! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant