Closed shashanka2a closed 4 years ago
Initially I tried,click() method.But it only looks for button, link, or image.There is a check() method for radio buttons,but it is not working for me. It says : Failed: { TypeError: Cannot set property 'checked' of null
Is there a method called checkOption()?
document.querySelector('input').checked = true; And you use evaluate to run that and of course correct selector not 'input'
document.querySelector('input').checked = true;
Initially I tried,click() method.But it only looks for button, link, or image.There is a check() method for radio buttons,but it is not working for me. It says : Failed: { TypeError: Cannot set property 'checked' of null
Is there a method called checkOption()?