We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c828daa + 43743ac commit 2deb9abCopy full SHA for 2deb9ab
content.js
@@ -28,14 +28,15 @@ const attempt = (ans_key, time) => {
28
let i = 0;
29
30
toast("Started attempting the test");
31
- function attemptQuestion() {
+ async function attemptQuestion() {
32
document.querySelector(`#${ans[i]}_${i + 1}`).click();
33
document.querySelector("#main_div > div.tableWidthPercent > div.onlineTestLeftDiv > div.qnav > span.saveNextButton > a").click();
34
i++;
35
36
if (i === len) {
37
toast("Finished attempting the test");
38
clearInterval(inter);
39
+ await new Promise(r => setTimeout(r, 1000));
40
document.querySelector('#activator').click();
41
document.querySelector('input[name="rd"][value="Y"]').click();
42
}
0 commit comments