Created
February 18, 2024 13:53
-
-
Save mold/6d6cb5a3a998728cf7ad329ba92ceba5 to your computer and use it in GitHub Desktop.
This file contains 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
function nextRow(i) { | |
var rows = document.querySelectorAll("#tabAllGrid .row-wrapper"); | |
console.log(i); | |
// if(i>2){return;} | |
var cells = Array.from(rows).map((r) => | |
r.querySelector(".gridCell:first-child .cell-wrapper") | |
); | |
cells[i].click(); | |
setTimeout(() => { | |
rows[i].querySelector(".btn-group:last-child #action").click(); | |
setTimeout(() => { | |
rows[i].querySelector(".btn-group:last-child li:nth-child(2) a").click(); | |
i++; | |
setTimeout(() => nextRow(i), 1000); | |
}, 500); | |
}, 500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment