Sha256: 0e0967baeb392ad378a828199ce7a6184c4ebef77cbc891ad9c0a62185cb4403
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
require 'watir-webdriver' require_relative 'navigator' require_relative 'parallel_request_scraper' require_relative 'user_operations' class Provider def initialize(url) @url = url end def get_requests(users, options={}) threads = options[:threads] || 5 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, threads 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.3 | lib/help-desk-dashboard/providers/track-it/2003.10.1/provider.rb |