I am a first time user of puppeteer and not an engineer / coder!
I have been able to generate most of the form I'm trying to using puppeteer, however I am getting stuck on radio buttons. The developer tools in the webform is showing the following for the field:
<input id="Mortgagees_0__MortgageeType" name="Mortgagees[0].MortgageeType" type="radio" value="COR">
Using:
await page.click('#Mortgagees_0__MortgageeType', 'COR') that most help pages online provide doesn't seem to work (no error, it just doesn't select the option I want)
I've tried several other variations, like below, also not working:
wait page.click('input[id=Mortgagees_0__MortgageeType]', 'COR')
I can see the "input id" is different compared to other id fields, but not sure what to do differently.
Please help? This is the webform I'm trying to populate: http://lrforms.arnecc.gov.au/lrforms/NationalMortgageForm/Entry