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
async function run() { | |
const wait = ms => new Promise(resolve => setTimeout(resolve, ms)) | |
const selector = 'div[aria-label="Toggle to follow"] div' | |
const nodes = [...document.querySelectorAll(selector)] | |
for (let node of nodes) { | |
const text = node.parentElement.parentElement.parentElement.innerText | |
console.log(text) |