It returns this error message:

C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/response.rb:51:in
`assert_ok': The point at which the driver is attempting to click on the
element was not scrolled into the viewport.
(Selenium::WebDriver::Error::ElementNotVisibleError)
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/response.rb:15:in
`initialize'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/http/common.rb:59:in
`new'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/http/common.rb:59:in
`create_response'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/http/default.rb:66:in
`request'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/http/common.rb:40:in
`call'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/bridge.rb:634:in
`raw_execute'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/bridge.rb:612:in
`execute'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/remote/bridge.rb:369:in
`clickElement'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/element.rb:54:in
`click'
    from
C:/ruby/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.4/lib/watir-webdriver/elements/element.rb:131:in
`click'
    from C:/Users/luis/RubymineProjects/Visual_Tools/NVX/login.rb:58:in
`<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'



On 25 September 2013 16:22, Luis Espla <[email protected]> wrote:

> Hello,
> I've a problem with the next html code. I can onmouseover event but when I
> try a click in this tag, it doesn't work
> The source code is
> <div id="cab">
> <img title="Close session" class="GI2XGOTMS" style='background:
> url("data:image/png;) no-repeat 0px 0px; width: 37px; height: 40px;'
> onload='this.__gwtLastUnhandledEvent="load";' src="
> http://192.168.0.3/venomweb/clear.cache.gif"; border="0">
> </div>
>
> I did(it works well):
> @browser.div(:id => "cab").image(:title => "Close session").fire_event
> "onmouseover"
>
> but then I did(it doesn't work):
> @browser.div(:id => "cab").image(:title => "Close session").click
>
> Does anyboy know the problem
>
> Sincerely regards
>

-- 
-- 
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/groups/opt_out.

Reply via email to