Created
April 21, 2022 16:52
-
-
Save akshuvo/3196f447bb6c7cc4f915972e80beea15 to your computer and use it in GitHub Desktop.
Paste this code in browser console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check radio values 5 | |
var toCheck = document.querySelectorAll('[value="5"]'); | |
toCheck.forEach(function(el, i){ | |
el.checked = true; | |
}); | |
// Check radio values 10 | |
var toCheck = document.querySelectorAll('[value="10"]'); | |
toCheck.forEach(function(el, i){ | |
el.checked = true; | |
}); | |
// Textarea value | |
var textareaText = document.querySelectorAll('[name="txtTEComments"]'); | |
if( textareaText.length ) { | |
textareaText[0].value = "Outstanding Experience" | |
} | |
// Submit | |
var submitBtn = document.querySelectorAll('[type="submit"]'); | |
if( submitBtn.length ) { | |
submitBtn[0].click() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment