Skip to content

Instantly share code, notes, and snippets.

@mbecker
Created September 19, 2019 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbecker/b778f21b940dbdf2dacd1d67e81ca35f to your computer and use it in GitHub Desktop.
Save mbecker/b778f21b940dbdf2dacd1d67e81ca35f to your computer and use it in GitHub Desktop.
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