Created
March 13, 2018 12:47
-
-
Save evanjs/ad777c79d3f66c096a700eca6b5b4019 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
total_bugs = $$('td#bz_show_bug_column_1.bz_show_bug_column > table > tbody > tr:nth-child(21) > td > a') | |
closed_bugs = $$('td#bz_show_bug_column_1.bz_show_bug_column > table > tbody > tr:nth-child(21) > td > a[class*="bz_closed"]') | |
remaining_bugs = total_bugs.length - closed_bugs.length | |
console.log(`Total bugs: ${total_bugs.length}\nClosed: ${closed_bugs.length}\nRemaining: ${remaining_bugs}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment