This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'watir-webdriver' | |
| puts "Please enter a user" | |
| user = gets | |
| user.chomp! | |
| profile = Selenium::WebDriver::Firefox::Profile.new | |
| #profile.proxy = Selenium::WebDriver::Proxy.new :http => '127.0.0.1:8118' | |
| b = Watir::Browser.new :firefox, :profile => profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #This script requires ruby and the watir-webdriver gem (http://watirwebdriver.com/) | |
| #When you enter a username, it will upvote all of their comments/posts | |
| #You may get IP-banned | |
| require 'watir-webdriver' | |
| puts "Please enter a user" | |
| user = gets | |
| user.chomp! |
NewerOlder