how to use element filter to define objects
I am trying to understand the following from selenium doc:
Element filters can be used with a locator to refine a list of candidate elements. They are currently used only in the 'name' element-locator.
Filters look much like locators, ie.
filterType = argument
Supported element-filters are:
Matches elements based on their values. This is particularly useful for refining a list of similarly-named toggle-buttons.
Selects a single element based on its position in the list (offset from zero).
Re: how to use element filter to define objects
so if I have a button, it is named install, and I have two buttons with the same name.
they can be identified as:
how do I pass the name and element filter to selenium.click() method