Features
< Back to Blog Overview

Firefox on Android - Appium Testing

2019-12-06
Firefox on Android: Automated Testing with Appium
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

TestingBot has been providing Android Emulators and Real devices for Automated Testing. Most of the time, the default browser for these devices is Chrome.


Today, TestingBot has added the latest Firefox browser to all Android Emulators and Real Android Devices. What's even more: these Firefox browsers can be used with Automated Testing via Appium.

Automated Testing

Thanks to the latest release of GeckoDriver (0.26.0), it is now possible to run your Automated Tests on Firefox.


At TestingBot, we've configured our Emulators and Devices to use this latest version. All you need to do to run Automated tests is add firefox as browserName in your desired capabilities.

Automated Testing Example

Please see the example below on how to run an Automated Test on Firefox and Android.

Copy code
#!/usr/bin/env ruby

require 'rubygems'
require 'selenium-webdriver'

caps = {
  :browserName => "firefox",
  :version => "10.0",
  :platform => "Android",
  :deviceName => "Pixel 3",
  :platformName => "Android",
  :name => "My First Mobile Test on Firefox"
}

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

driver = Selenium::WebDriver.for(
  :remote,
  :url => "https://API_KEY:API_SECRET@hub.testingbot.com/wd/hub",
  :http_client => client,
  :desired_capabilities => caps)
driver.navigate.to "http://www.google.com"
element = driver.find_element(:name, 'q')
element.send_keys "TestingBot"
element.submit
puts driver.title
driver.quit

Live Testing

Next to the Automated Testing offering, we've also added the option to run a manual test with Firefox on Android.
Simply select a device or emulator, choose firefox and we'll connect you with a remote device running the latest Firefox

Assets

TestingBot will offer various assets generated during your Automated Test: a screen recording, screenshots and various log files.

TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

Mobile Locators for Automated Testing

TestingBot provides a large grid of mobile devices and simulators/emulators to run Automated and Manual tests against your mobile apps. An imp...

Read more
React Native Appium Testing

React Native makes it easy to create mobile applications for both iOS and Android.

Read more
macOS Catalina Automated Selenium Testing

Today we're adding macOS Catalina (beta 3) to our Selenium grid.

Read more
Launching Real Mobile Device Testing

We're happy to announce the launch of our Real Device Testing feature on TestingBot.

Read more
Advanced WebDriver Testing: Intercepting and Mocking Network

We've added various new/custom WebDriver commands to our Chrome Browsers.

Read more
Frontend Performance Testing

With the release of TestingBot's Performance Testing, you can now retrieve various performance metrics from Chrome during your Automated Tests.

Read more