Hi Zelijko,
I managed to fix the issue with some javascript that resizes certain
elements. The code looks like:
$browser.execute_script("window.frames['iFrameAssetUpload'].document.getElementById('uploadAsset').style.width
= '10px';
window.frames['iFrameAssetUpload'].document.getElementById('uploadAsset').style.height
= '10px';
document.getElementById('iFrameAssetUpload').style.width = '1000px';
document.getElementById('iFrameAssetUpload').style.height = '100px';")
Basically, I had to resize some "hidden" elements (they were all 0
dimensioned) so that they can fit properly and then I easily used the
file_field.
It's strange though that you need this workaround in Chrome, but not in FF.
Thanks a lot,
Andrei
On Thursday, November 22, 2012 3:07:53 PM UTC+2, Željko Filipin wrote:
>
> On Thu, Nov 22, 2012 at 2:03 PM, Andrei Marfievici
> <[email protected]<javascript:>>
> wrote:
> > Selenium::WebDriver::Error::UnknownError: Element is not clickable at
> point (0, 0)
>
> I have encountered the error a few months ago:
>
> https://gist.github.com/2895237
>
> I do not remember if I solved it or not. I think there was a problem with
> the page.
>
> Google for that error message and you will find a few solutions, one of
> them could help you.
>
> Željko
> --
> https://leanpub.com/watirbook
>
--
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]