sendKeys() doesn't work since this morning (Chrome 65.0.3325.162)

51 views
Skip to first unread message

charlen...@gmail.com

unread,
Mar 14, 2018, 11:38:00 PM3/14/18
to Selenium Users
package com.u;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

/**
* Created by douhua on 2018/3/15.
*/
public class Test {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","src/main/resources/chromedriver");
ChromeDriver webDriver = new ChromeDriver();
webDriver.get("https://www.baidu.com");
WebElement searchBar = webDriver.findElementById("kw");
searchBar.sendKeys("hi");
}
}
error.log
pom.xml
project_structure.png

Xiang Dong

unread,
Mar 15, 2018, 4:33:15 AM3/15/18
to Selenium Users
Upgrade your chrome driver to 2.35 May help you.

________________________________________
From: seleniu...@googlegroups.com <seleniu...@googlegroups.com> on behalf of charlen...@gmail.com <charlen...@gmail.com>
Sent: Thursday, March 15, 2018 11:15:50 AM
To: Selenium Users
Subject: [selenium-users] sendKeys() doesn't work since this morning (Chrome 65.0.3325.162)
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com<mailto:selenium-user...@googlegroups.com>.
To post to this group, send email to seleniu...@googlegroups.com<mailto:seleniu...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/19717e8c-a927-4868-85d0-3354d317b539%40googlegroups.com<https://groups.google.com/d/msgid/selenium-users/19717e8c-a927-4868-85d0-3354d317b539%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages