Integrate Selenium IDE with BrowserStack

Run your tests using Selenium IDE (record and replay) on BrowserStack

Introduction

Selenium IDE is one of the most popular record and playback tools for automating your tests. You can run them later with your favorite choice of language. BrowserStack provides a way to automate those tests on different devices and combinations.

Getting started with Selenium IDE

Download Selenium IDE for your preferred browser.

selenium_ide Install the Selenium IDE command line runner

Recording and saving the tests

Record the Selenium test with the help of Selenium IDE as shown in the following figure:

selenium_ide_recording

Save the test after recording.

save_selenium_test

Running tests on BrowserStack

Go to the location where the file is saved on your machine and create .side.yml file in the same folder. Add the capabilities you want and make sure server is added.

.side.yml
# this is how your .side.yml should look like
capabilities:
    browserName: "Chrome"
    browser_version: '81.0'
    os: "Windows"
    os_version: '10'
    resolution: '1024x768'
    name: 'Selenium IDE automate test'
    browserstack.debug: true
    browserstack.console: "verbose"
    browserstack.networkLogs: true
server: "YOUR_USERNAME:YOUR_ACCESS_KEY@hub-cloud.browserstack.com/wd/hub"

You can execute the test on multiple OS and browser combination, for example to execute the test on OS X Catalina on Safari 13, add the following capabilities:

  • browserName: Safari
  • browser_version: 13.0
  • os: OS X
  • os_version: Catalina

You can view the entire list of supported browsers and OSes here.

Run the selenium test on BrowserStack by running the following command in the same directory.

selenium-side-runner BrowserStack-Selenium-test.side

It will run the test on BrowserStack Automate, and you can monitor the test in real-time on the Automate dashboard.

We're sorry to hear that. Please share your feedback so we can do better






Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback