How do I select a div using both it's id and class in Selenium firefox addon?
EDIT: I managed to solve it, I used an xpath expression with both the attributes @id= and @class =
I stumbled upon this question and thought I would leave an example of the answer that the OP didn't leave (as requested by vincebowdren above):
//*/fieldset[@class="openable"][@id="activityFieldset"]
This would select a fieldset element with the openeable class and activityFieldset id.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With