A
Anand
Hi,
How can I use Watir to execute javascript fuctions? For example if I
have code like the follwing:
<img src="ccc.jpg" onClick="helloWorld();">
One way to exceute the function would to locate the image and simulate
a click (thats easy). But how do I use Watir to call the helloWorld()
function directly.
Thanks,
Anand.
How can I use Watir to execute javascript fuctions? For example if I
have code like the follwing:
<img src="ccc.jpg" onClick="helloWorld();">
One way to exceute the function would to locate the image and simulate
a click (thats easy). But how do I use Watir to call the helloWorld()
function directly.
Thanks,
Anand.