Multiple Attributes
I have more than one object of the same name. How do I commit an action on anything but the first one?Lets imagine we have two 'Employees' links. This will click the first link that is found on the page:
$ie.link(:text, 'Employees').click
$ie.link(:text => 'Employees', :index => 2).click
No comments:
Post a Comment