I have a page I’m monitoring that occasionally has a button that is not clickable…
div id=“296722790” class=“bb-selection-button selectable”
or
div id=“296722790” class=“bb-selection-button disabled”
There’s multiple buttons, and I can’t use the button ID as it’s different every time, so I access the button using xpath=//div[6]/div[2]/div/div/div/div
How can I detect if the button is available?
All suggestions are welcome.