is the thing you are trying to click superimposed on the screen by the
thing webdriver is complaining about? Maybe try clicking the div instead?
On Friday, March 22, 2013 4:12:07 PM UTC-7, Aaron Schwartz wrote:
>
> I fixed the Phantomjs issue by adding some wait_until_present statements.
> Some of the dynamic content of the page was not loading in time for the
> watir- webdriver code to catch it.
>
> I'm still having issues with chrome, however.
>
> @browser.image(:id, "image_button_id").when_present.click
>
> The error I get is
> .../gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/remote/response.rb:52:in
>
> `assert_ok': Element is not clickable at point (967, 651). Other element
> would receive the click: <div class="commitButton" id="cancel">...</div>
> (Selenium::WebDriver::Error::UnknownError)
>
> The site isn't public currently.
>
> Thanks
>
> Aaron
>
> On Thursday, March 14, 2013 11:12:37 AM UTC-7, Aaron Schwartz wrote:
>>
>> I am running watir-webdriver on a webpage with multiple forms (no
>> frames). The issue seems to be that when the text boxes are out of view
>> (you'd have to scroll to see them), that chromedriver cannot find and
>> access the text boxes. Firefox has no problem with this.
>>
>> Is this a known issue or am I doing something else wrong? Any easy fixes?
>>
>> Phantomjs has the same error as chrome
>>
>> The test of the error:
>> Watir::Exception::UnknownObjectException: unable to locate element, using
>> {:id=>"some_text_id", :tag_name=>"select"}
>>
>> Thanks for your help,
>>
>> Aaron
>>
>
--
--
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.