class RUTL::Interface::Firefox

Small interface for Chrome browser.

Public Class Methods

new() click to toggle source
Calls superclass method RUTL::Interface::Browser::new
# File lib/rutl/interface/browser/firefox.rb, line 10
def initialize
  @logged_in = true
  options = Selenium::WebDriver::Firefox::Options.new
  options.add_argument('--ignore-certificate-errors')
  options.add_argument('--disable-popup-blocking')
  options.add_argument('--disable-translate')
  options.add_argument('--headless') if ENV['TRAVIS'] || ENV['CIRCLECI']
  @driver = Selenium::WebDriver.for :firefox, options: options
  super
end