Skip to content

Instantly share code, notes, and snippets.

@franciscojsc
Last active March 22, 2023 15:29
Show Gist options
  • Save franciscojsc/eef09cf063dfee139cf0650757cc7b29 to your computer and use it in GitHub Desktop.
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)
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