From 04ac6c2bc46407750602f31f41065eb09b7d1a55 Mon Sep 17 00:00:00 2001 From: Arpit Vasani Date: Tue, 7 Sep 2021 18:08:16 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20smart=20reply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fbd8e99..18cb41f 100644 --- a/src/index.js +++ b/src/index.js @@ -204,7 +204,7 @@ async function Main() { //send message to the currently open chat using power of puppeteer await page.type("#main div.selectable-text[data-tab]", message); if (configs.smartreply.clicktosend) { - await page.click("#main > footer > div.copyable-area > div:nth-child(2) > button"); + await page.click("#main footer div.copyable-area div div div button"); } }); });