lib/selenium_scraper.rb in my-congress-0.2.0 vs lib/selenium_scraper.rb in my-congress-0.2.1
- old
+ new
@@ -13,10 +13,10 @@
#Error for not locating address / invalid address
if info[3] == nil
puts " "
puts "Could not locate address. Press 'Enter' to return to Main Menu.".colorize(:blue)
nothing = gets.chomp
- MyCongress.new.call
+ MCongress.new.call
end
# Once Selenium passes the refresh, Nokogiri is easier
# to target the actual elements we need
elements = Nokogiri::HTML(open(driver.current_url))
\ No newline at end of file