ericmckean / chromedriver

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

Mac Chrome chord using COMMAND doesn't work #972

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys,

Just some context...
We have some overridden browser functionality around clip commands in our rich 
text editor (decorators and undecorators around CSS styles) . So we want to 
make sure that people who use our product can use clip commands and they get 
the plaintext put into the system clipboard on various browsers.

On Windows Chrome and IE, this works. I can use modifier keys through the 
actionbuilder or chord. However, this does not work on Mac. You can repro it 
using a simple textarea input.

What steps will reproduce the problem?
1. Go to a page with a pre-populated textarea input on mac chrome.
2. Get a webelement to the textarea
3. we.sendKeys(Keys.chord(Keys.COMMAND, "A")); (where we is the WebElement for 
the textarea)

What is the expected output? What do you see instead?
Expected: Pre-populated text is selected
Actual: No change

Selenium version: 2.43.1
OS: Apple Mac OSX 10.9.2
Browser: Google Chrome
Browser version: 37.0.2062

Thanks guys!

Original issue reported on code.google.com by kevin.t....@gmail.com on 7 Nov 2014 at 10:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 7 Jan 2015 at 7:14

GoogleCodeExporter commented 9 years ago

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