'Need to Fetch the radio button value, but in the console that is highlighting only by ": :before" i am not able to fetch that

I wanted to fetch the Radio button is selected or not, but not able to fetch that property, because that is highlighting ": :before" enter image description here Please can you help how to fetch the exact property.



Solution 1:[1]

You should select the input element above ::before or I think you should select the outer label element to check that form in Selenium.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 arya sianati