Sha256: 21fe5e9897835b4f8be0dfa38d3f92a4d8b51ccb95b37c0e2e225a89036c5f1d
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
require 'watir-webdriver' require_relative 'navigator' require_relative 'parallel_request_scraper' require_relative 'user_operations' class Provider def initialize(config) @config = config end def get_requests url = @config['url'] users = @config['users'] b = Watir::Browser.new navigator = Navigator.new b, url user_operations = UserOperations.new b, navigator request_ids = user_operations.get_request_ids users b.close user = users.first parallel_request_scraper = ParallelRequestScraper.new url, user, @config['thread_limit'].to_i parallel_request_scraper.scrape request_ids end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
help_desk_dashboard-0.0.1 | lib/help-desk-dashboard/providers/track-it/2003.10.1/provider.rb |