I want to read the date value inside this shadow root.
even though I tried below it says 'no such shadow root'. How can I correct this?
driver.FindElement(CustomTimeHours).GetShadowRoot().FindElement(By.Id("placeholder")).Text
I want to read the date value inside this shadow root.
even though I tried below it says 'no such shadow root'. How can I correct this?
driver.FindElement(CustomTimeHours).GetShadowRoot().FindElement(By.Id("placeholder")).Text