Skip to content

Commit c9fce3c

Browse files
authored
Merge pull request #2 from RounabhSahu/patch-2
Updates : keys -> ans
2 parents a0f7b14 + 6dfeab1 commit c9fce3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
// chanage keys value
3-
const keys = "CABDAAAAACDAADBABAABCAABDBABBCDABCCBCDAD";
4-
const len = keys.length;
3+
const ans = "CABDAAAAACDAADBABAABCAABDBABBCDABCCBCDAD";
4+
const len = ans.length;
55

66
let i = 0;
77

88
const inter = setInterval(
99
() => {
10-
document.querySelector(`#${keys[i]}_${i+1}`).click(); // select the correct option
10+
document.querySelector(`#${ans[i]}_${i+1}`).click(); // select the correct option
1111
document.querySelector("#main_div > div.tableWidthPercent > div.onlineTestLeftDiv > div.qnav > span.saveNextButton > a").click(); // move to next question
1212
i++;
1313

0 commit comments

Comments
 (0)