I have a link in my application which gets enabled after 60 seconds. I have to verify , that the link only gets enabled after 60 seconds not before that. Have tried below ways:
I have tried
element to be clickable()
with fluent wait/webdriver wait/thread.sleep and all are returning that element is enabled where as it's actually disabled till 60 seconds.i have tried getAttribute("disabled")also , it also returns false.
The only difference i can see in the html is the class attribute. When it is disabled , class attribute value has additional text (disabled) added to it.