Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Enabled:True/False is not working (selenium) #1377
case "enabled": Func_FindObj(ORvalname, ORvalue);
according to the W3C, links are excluded from elements that can be disabled. Buttons are able to be disabled, but not links.
In order to test that links are disabled, you cannot use
If you need to validate that the link is enabled, then you need to find another way.. it most likely is defined by a class, so you should check that the element exists with a class
Please see this as a reference #1348 A similar discussion had taken place.