Try this reference:  https://github.com/kl/autoit-ffi

gem install autoit-ffi


# code sample for watir
require ' watir''
require 'autoit-ffi'

ie = Waitir::Browser:new( :chrome )
ie.window.maximize()
sleep 2
ie.goto('http://www.google.com')
sleep 2
ai =  AutoItFFI::AutoIt
# Open chromes developer tools
ai.send( "{f12}" ) 
# Open chromes kiosk mode
ai.send( "{f11}" ) 


Why do you want to open chromes developer tools?





On Tuesday, September 30, 2014 10:18:57 AM UTC-5, satya wrote:
>
>  @browser.send_keys :f12 not working in chrome
>

-- 
-- 
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