Last active
March 22, 2023 15:29
-
-
Save franciscojsc/eef09cf063dfee139cf0650757cc7b29 to your computer and use it in GitHub Desktop.
Comando para pegar os emails da lista de atendentes de acordo com a fila que a página exibi (Blip)
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
let $emails = document.querySelectorAll('.attendant-label+span'); | |
let emails = ''; | |
$emails.forEach((email) => { | |
let value = email.innerHTML; | |
if (value.indexOf('@') != -1) { | |
emails += email.innerHTML + ','; | |
} | |
}) | |
console.log(emails) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment