* Parse recipients from the Yahoo Webmail interface * @return {Promise. } The recipient objects in the form { email: 'jon@example.com' }
()
| 144 | * @return {Promise.<Array>} The recipient objects in the form { email: 'jon@example.com' } |
| 145 | */ |
| 146 | async getRecipients() { |
| 147 | const recipientElements = document.querySelectorAll('.compose-header [data-test-id="container-to"] [data-test-id="pill"]'); |
| 148 | return getAttr(recipientElements, 'title'); |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Set the recipients in the Yahoo Webmail editor. |