From bba3f87635645d0faaeaf6a00f689fbbc34a3da0 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 30 Jul 2021 02:43:28 -0400 Subject: [PATCH] Add missing await When will I stop forgetting this?... --- puppet/src/puppet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/src/puppet.js b/puppet/src/puppet.js index 69d7e5f..bf6546f 100644 --- a/puppet/src/puppet.js +++ b/puppet/src/puppet.js @@ -795,7 +795,7 @@ export default class MessagesPuppeteer { await chatItem.evaluate(e => e.click()) } else { await this._interactWithPage(async () => { - chatItem.click() + await chatItem.click() }) } this.log(`Waiting for chat header title to be "${chatName}"`)