You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add visibility check to selectByVisibleText in Select class
This change updates the selectByVisibleText method to prevent
selecting <option> elements that are hidden via CSS properties:
"display: none", "visibility: hidden", and "opacity: 0" or "0.0".
It uses the existing hasCssPropertyAndVisible method to ensure
that only visible options can be selected, making this method
consistent with selectByContainsVisibleText, which already has
this behavior.
Fixes#15265
0 commit comments