问题
In one of my Selenium test cases, I need to type something into a CKEditor text area.
It works fine with Chromedriver 2.20 + Chrome 59. But since I upgraded to Chrome 62, the textarea isn't detected anymore. Selenium doesn't throw any exception, it just doesn't type in the CKEditor and goes on with the next step.
Method:
WebElement element = driver.findElement(By.cssSelector("some-cute-custom-angular-selector"));
new Actions(driver).moveToElement(element).click().perform();
new Actions(driver).moveToElement(element).sendKeys(element,notes).perform();
Any idea (other than downgrading)? Thanks in advance.
来源:https://stackoverflow.com/questions/47339951/unable-to-type-in-ckeditor-with-selenium-chrome-62