Created
September 19, 2019 08:02
-
-
Save mbecker/b778f21b940dbdf2dacd1d67e81ca35f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var output = ""; | |
var rowsTable = document.getElementsByClassName("ReactVirtualized__Table__row styles__row___3MKZR"); | |
for(var i = 0; i < rowsTable.length; i++) { | |
var el = rowsTable[i]; | |
var rowsInTable = el.querySelectorAll("div"); | |
output += '- name: ' + rowsInTable[0].innerText + '\n'; | |
output += ` value: "${rowsInTable[1].innerText}"\n` | |
} | |
console.log(output); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment