On Thursday, August 1, 2013 10:40:46 PM UTC-7, Srinivas Desai wrote:

> Hi All,
>
> I need to know how can we click on a particular x and y co-ordinates in 
> the browser pane by using watir web driver.
> I already have x,y co-ordinates with me, i just need to click.
> Please let me know how it can be done.
>
> Thanks in advance.
>
> Regards,
> Srinivas.
>
>
using specific x,y coordinates is perhaps one of the best ways to create a 
brittle hard to maintain script.  running the script on a different system 
with different browser size, zoom level, site re-designs, etc  all can 
break the script.

Is there a specific reason you are trying to do things this way?  Normally 
there are far better ways to figure out where to click.  And where those 
don't work there are tools like Sikuli that work visually which are still 
usually a better alternative to a fixed X,Y based action

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