Class: AdopsReportScrapper::AdaptvClient

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/adops_report_scrapper/adaptv_client.rb

Instance Method Summary collapse

Methods inherited from BaseClient

#before_quit_with_error, #date_supported?, #get_data, #initialize, #logout

Constructor Details

This class inherits a constructor from AdopsReportScrapper::BaseClient

Instance Method Details

#init_clientObject



5
6
7
8
9
10
# File 'lib/adops_report_scrapper/adaptv_client.rb', line 5

def init_client
  Capybara.register_driver :selenium do |app|
    Capybara::Selenium::Driver.new(app, :browser => :firefox)
  end
  @client = Capybara::Session.new(:selenium)
end