Features
< Back to Blog Overview

Opera and WebDriver

2016-07-06
Opera Automated Selenium Testing and Manual Browser testing
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews
opera

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


As Opera is regarded as the fifth most popular browser on the web, we decided that it was important to make Opera testing available for all TestingBot users.


At the time of writing, the latest version of Opera (blink) is version 38.
You can now run your automated Selenium WebDriver tests on Opera 38, 37 and 36, take screenshots and do manual testing via TestingBot.


Opera is a fast browser, during our tests we noticed that it starts up very fast and runs the automated tests fast. To control the Opera browser during testing, we use the Opera Chromium Driver behind the scenes.


As a TestingBot user, to run an Automated test, please see this code example:


#!/usr/bin/env ruby

require 'rubygems'
require 'selenium-webdriver'

caps = {}
caps.browserName = "opera"
caps.version = 38
caps.platform = "WIN10"
caps.name = "My First Opera Test"

client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 120

driver = Selenium::WebDriver.for(
  :remote,
  :url =>"http://key:secret@hub.testingbot.com/wd/hub",
  :desired_capabilities => caps,
  :http_client => client)

driver.navigate.to "http://www.google.com"
element = driver.find_element(:name, 'q')
element.send_keys "TestingBot"
element.submit
puts driver.title
driver.quit
TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

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
blank

With Selenium Webdriver, you can run tests on Firefox, Chrome and Safari, all of them equipped with your browser extension. At TestingBot, we've...

Read more
Safari Technology Preview: Automated Testing with WebDriver

Safari Technology Preview provides a way to have an early look at the upcoming web technologies in OS X and iOS.

Read more
TestingBot translated in German, Spanish and French

TestingBot is located and operated from the heart of Europe: Belgium. In Europe, we have a great mix of different languages that people speak an...

Read more
blank

To keep our Selenium grid with over 1500+ real browsers healthy, we use various tools and techniques to monitor and troubleshoot potential problems...

Read more