Login to LinkedIn using HtmlUnit and navigate to Connections Web page
问题 Currently I am trying to login to LinkedIn using HtmlUnit 2.20. But I am not able to login. Below is my code. public static void Login(String username, String password) { final WebClient webClient = new WebClient(BrowserVersion.CHROME); try { final HtmlPage page = webClient.getPage "https://www.linkedin.com/secure/login"); final HtmlForm form = page.getForms().get(0); final HtmlSubmitInput button = form.getInputByName("signin"); final HtmlTextInput emailBtn = form.getInputByName("session_key"