I need help in traversing the element to check whether a radio button is enabled or not.
Below is the sample structure looks like. I need to locate the radio button class which has text playwright.
<div class = "mainitem">
<div class = "sideitem">
<div class = "headeritem">
<span class = "radiobutton"></span>
</div>
</div>
<div class = "container">
<span>playwright</span>
</div>
</div>