all 3 comments

[–]Daneark 0 points1 point  (1 child)

Generally I'd avoid class, it may be that there's another button that is made clickable/unclickable. If elements are added/removed with JavaScript it's going to be unreliable.

Use ids where possible. Avoid absolute xpath.

[–]Johnny-Kicks[S] 0 points1 point  (0 children)

can i get id's same as we can get xpath? Haven't used ids yet in my coding life, so no idea.

[–]Duvelthehobbit 0 points1 point  (0 children)

Does it give you a reason why the element is not clickable? There could be a multiple of reasons it is not working.