Using paste command in Chrome

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using paste command in Chrome

Kiara Westbrooks
Hi,

I am trying to use the paste command in chrome but it does not seem to do anything (the same command works in Firefox).
I am on Mac Sierra using Chrome version 67 and Firefox version 60. I'm using:

```
WebElement.sendKeys(Keys.COMMAND + "v");
```

has anybody else ran into this?

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d280fc0d-9dc4-4de9-a365-bfa7ff45a985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Using paste command in Chrome

Karthik Kulkarni
If you want multiple keys to be pressed then suggest you to use the chord function 
On Fri, 22 Jun 2018 at 9:35 AM, Kiara Westbrooks <[hidden email]> wrote:
Hi,

I am trying to use the paste command in chrome but it does not seem to do anything (the same command works in Firefox).
I am on Mac Sierra using Chrome version 67 and Firefox version 60. I'm using:

```
WebElement.sendKeys(Keys.COMMAND + "v");
```

has anybody else ran into this?

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d280fc0d-9dc4-4de9-a365-bfa7ff45a985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAK1Lbwm6cEsTirMHb8rpnrQfoEwVRrmFhtv-uKWG0tw5_aWXvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.