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
Cache IWebElement before checking TagName is correct (#8904)
When creating a SelectElement we must first check the WrappedElement tag is select and throw a UnexpectedTagNameException otherwise.
Previously the WrappedElement was not cached so WebDriver API could be called up to three times: first to check the tag is not null, second to check it's value is select (ignoring case) and a third time as a parameter of UnexpectedTagNameException if any of the previous conditions failed.
Fixes#8899
Co-authored-by: elgato <[email protected]>
0 commit comments