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.
#!/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.