Hi I'm kind of new to selenium, so please bear with me if the question is too basic. I wanna access a date picker element and choose a specific date. I am trying to access the span element using both class and text inside. I get an error of invalid string. Is the syntax below correct?
_driver.FindElement(By.CssSelector("span[class='xxx'][contains(text(),'xx')]"))