Thanks Alex, its working with me.
On Wed, Feb 6, 2013 at 1:18 PM, Alex Shtayer <[email protected]> wrote: > What do you mean by automate? How to click on the element? > > You can use usual method like: > browser.link(:text, "Select").click > or if due any reason click method does not work: > browser.link(:text, "Select").fire_event("onclick") > or > browser.link(:text, "Select").fire_event("onmousedown") > > > On Wednesday, February 6, 2013 11:11:52 AM UTC+2, mc060200778 wrote: >> >> Hi, >> >> how would you automate following Javascript link in watir-webdriver? >> >> <a href='javascript:selectDevice(**"122334455","12121212","#** >> divAddCustomerLine");'>Select<**/a> >> >> >> Thanks >> > -- > -- > 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. > > > -- -- 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.
