Features
< Back to Blog Overview

Selenium 3 testing

2016-09-07
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

TestingBot provides an option for people who want to run their Selenium tests with the latest Selenium 3 beta versions!


Selenium 3 is currently still in beta, so bugs might appear when using this beta version to run tests with.


A short list of things that changed with Selenium 3:


  • Selenium RC is no longer included in the default package. TestingBot will provide an option to still run RC tests with Selenium 3 once it hits a stable release
  • Geckodriver is used by default for Firefox tests. When you run a test on TestingBot with version 47 or higher we already use Geckodriver for you
  • Overall bug fixes and speed improvements

How can I run my tests on TestingBot with Selenium 3?

If you like, we offer an option to run tests with Selenium 3 (beta 1 and beta 2). As with all beta software, bugs might appear that were not there with the current stable version.


You can specify selenium-version in the desired capabilities to use a different Selenium version. For example, for Selenium 3 you can specify either: 3.0.0-beta1 or 3.0.0-beta2


var webdriver = require('selenium-webdriver'),
    testingbotKey = "key",
    testingbotSecret = "secret",
    driver;

driver = new webdriver.Builder().withCapabilities({
    'browserName': 'firefox',
    'platform': 'VISTA',
    'version': 'latest',
    'client_key': testingbotKey,
    'client_secret': testingbotSecret,
    'selenium-version' : '3.0.0-beta2'
  }).
  usingServer("http://" + testingbotKey + ":" + testingbotSecret +
        "@hub.testingbot.com/wd/hub").build();

driver.get('https://www.google.com');

driver.getTitle().then(function (title) {
    console.log("title is: " + title);
});

driver.quit();
TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

Opera Automated Selenium Testing and Manual Browser testing

TestingBot now supports the latest Opera versions for both Automated and Manual Browser Testing.

Read more
Android Marshmallow (6.0) Selenium Testing

TestingBot now offers Android Marshmallow Emulators to run Automated Selenium Tests and Manual tests.

Read more
macOS Sierra Automated and Manual testing

This week, Apple introduced the OS that will replace OS X El Capitan, called macOS Sierra.

Read more