0
I am using a site for learning in the study of Selenium Webdriver and need to click the checkbox next to Select Room, but it is a pseudo-element, only when the cursor on ::before
or ::after
that the checkbox is selected, so I can not make the selection.
I tried the xpaths below but all without success:
//*[@*='checkbox']/../*[@*='custom-control-label text-left go-left']
//*[normalize-space(text()='Select Room')]/following-sibling::label