I am able to click the button which launch facebook modal dailog for login 

but it is not setting email and password in it.

if
 b.div(:class => 'btn-login-with-fb right').exists? 
 b.link(:text => "Log In").when_present.click
end 
puts "Log into facebook with a test user"

b.text_field(:id => 'email').set '[email protected]'
b.text_field(:id => 'pass').set 'yyyyy'
b.button(:type => 'submit').click


But it give me error either Read TimeOut or sometimes 
`fxdriver.preconditions.visible': 
Element is not currently visible and so may not be interacted with 
(Selenium::WebDriver::Error::ElementNotVisibleError)

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