rshf / chromedriver

Automatically exported from code.google.com/p/chromedriver
2 stars 1 forks source link

[Ctrl/Cmd] + A fails in ContentEditable div #433

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. type text "abc"
2. hit cmd + a or ctrl + a

Expected: "abc" is highlighted.
Actual: "abc" is not highlighted.

Simplified test case or site demonstrating the problem:
https://gist.github.com/byronm/338f4f3499946fb3d87f

What version of the product are you using? On what operating system?
ChromeDriver = v2.1.210398
Chrome = v28.0.1500.71

OS = 10.7.5
This works fine with ChromeDriver on Windows 7.

chromedriver.log is attached.

Original issue reported on code.google.com by byron...@gmail.com on 26 Jul 2013 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago
Typo fix: 

OS: Mac OSX 10.7.5

Original comment by byron...@gmail.com on 26 Jul 2013 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago
Issue is reproducible with chromedriver:2.14, chrome:v41, Mac OS.

In Windows 7 with element.sendKeys(Keys.chord(Keys.CONTROL, "a")), text is 
getting highlighted

Sample Code:
WebDriver driver = new ChromeDriver();
driver.get("file://Html/Bug_433.html");
WebElement element = driver.findElement(By.id("editable"));
element.sendKeys("abc");
element.sendKeys(Keys.chord(Keys.COMMAND, "a"));

Original comment by ssudunag...@chromium.org on 7 Apr 2015 at 10:08

GoogleCodeExporter commented 9 years ago
Issue 972 has been merged into this issue.

Original comment by gmanikp...@chromium.org on 8 Apr 2015 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by ssudunag...@chromium.org on 10 Apr 2015 at 6:03