send before I could finish tried the same thing in chrome and it does not
work. It looks like the latest version of

chromedriver 2.9  came out feb 1
selenium-webdriver 2.40 came out feb 18
watir-webdriver 0.6.8 came out feb 20

I would try with an older version of watir-webdriver and
selenium-webdriver, and see if works then ill check it out later if no one
has


On Thu, Mar 20, 2014 at 10:51 AM, Oscar Rieken <[email protected]> wrote:

> I tried this out here and it worked fine
> http://derp-bear.herokuapp.com/forms/basic_form_example
>
> > require 'watir-webdriver'
>  => true
> > Watir::VERSION
>  => "0.6.8"
> > b = Watir::Browser.new :firefox
>  => #<Watir::Browser:0x5b7f48c3ab2514ba url="about:blank" title="">
> > b.goto 'derp-bear.herokuapp.com'
>  => "http://derp-bear.herokuapp.com/";
> > b.text_field(id: 'free_text_area')
>  => #<Watir::TextField:0x..f808e0044d909ac2 located=false
> selector={:id=>"free_text_area", :tag_name=>"input or textarea",
> :type=>"(any text type)"}>
> > b.text_field(id: 'free_text_area').send_keys [:command, 'a']
>  => ""
> > b.text_field(id: 'free_text_area').send_keys [:command, 'x']
>  => ""
> > b.text_field(id: 'free_text_area').send_keys [:command, 'v']
>  => ""
>
>
> On Wed, Mar 19, 2014 at 7:07 PM, Kyle <[email protected]> wrote:
>
>> Using Watir-webdriver and Chrome 33 on OSX.
>>
>> The site I'm trying to automate has a button to copy text to the
>> clipboard, and I have that automated and have confirmed that the text is
>> being copied. However, when I go to the textarea I'm trying to paste into
>> using send_keys [:command, 'v'] nothing seems to happen, but I get no
>> errors and the test continues on after that line. Sending text with
>> send_keys seems to work fine, but I've also tried using  send_keys
>> [:command, 'a'] and send_keys [:command, 'x'] which also seem to not work.
>>
>> --
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> [email protected]
>> http://groups.google.com/group/watir-general
>> [email protected]
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to