porscheinformatik / selenium-components

A small framework on top of Selenium to access web elements more easily.
MIT License
5 stars 5 forks source link

Fix Clarity radio & checkbox .isDisabled() #4

Closed TechScar closed 2 years ago

TechScar commented 2 years ago

When checking a Clarity radio or checkbox input for whether it was disabled in an IT, it would return the disabled attribute of the WRAPPER element, not the input element itself.

This was fixed by overriding the .isDisabled() method, and others.

Quite interesting that this error was never noticed before.