Skip to content

Commit 5aedf84

Browse files
committed
Update content.js
1 parent 80fbc12 commit 5aedf84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const attempt = (ans_key, time) => {
2929

3030
toast("Started attempting the test");
3131
async function attemptQuestion() {
32-
document.querySelector(`#${ans[i]}_${i + 1}`).click();
32+
document.querySelector(`input[type="radio"][name="radio_${i + 1}"][value="${ans[i].toLowerCase()}"]`).click();
3333
document.querySelector("#main_div > div.tableWidthPercent > div.onlineTestLeftDiv > div.qnav > span.saveNextButton > a").click();
3434
i++;
3535

0 commit comments

Comments
 (0)