How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How to fix an InvalidSelectorException in Selenium

calendar_today October 19, 2022 person domain reflect

In Selenium, a selector, which is also called a locator, is what’s used to identify elements within a web page. Selenium supports two types of selectors: CSS selectors, and XPath selectors. In Java, when an invalid CSS or XPath selector is malformed, Selenium throws an <a href="https://www.selenium.dev/selenium/docs/api/java/org/openqa/s

open_in_new Read original post