I know the title is somewhat clickbait ish but I am at my wit’s end with trying to locate a radio button to click on a page.
To give some background, this is a internal app/site using a private location/containerized minion.
This site uses 99% dynamic elements so i’m forced to use full xpath about 99% of the time throughout the script. So I’m about half way into the script, trying to locate a radio button to click and now full xpath is not working for me.
I’ve tried css, xpath, and full xpath and nothing seems to work.
Here is the function…most recently i tried full xpath while adding some additional details to input:
return $browser.findElement(By.xpath(’/html/body/div/div/div/div/p/div/div/div/input[@type=“radio” and @value=“N”]’))
Link to the script: