I seem to have run into an issue. I am currently working with Java and WebDriver. My goal is to navigate to , locate the item "ipod", receive 4 results, and then compare them by clicking on the "compare" button beneath each item. However, I am encountering two problems.
The first problem is figuring out how to click on the "compare" button that has an onclick event attached to it.
n><button type="button" data-toggle="tooltip" title="" onclick="compare.add('48');" data-original-title="Compare this Product"><i class="fa fa-exchange"></i></butto
The second problem is determining how to compare all of my search results at once.