From 81d34318a0b80c99ae2947372b9e3ca9b235f081 Mon Sep 17 00:00:00 2001 From: Emanuel Dickson Wanyonyi Date: Sat, 30 Oct 2021 21:38:15 +0300 Subject: [PATCH] Update liveRTMP.js to fix issue #93 --- liveRTMP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liveRTMP.js b/liveRTMP.js index 35a4967..d174c86 100644 --- a/liveRTMP.js +++ b/liveRTMP.js @@ -80,7 +80,7 @@ async function main() { await page.$eval('[class^=navbar]', element => element.style.display = "none"); await page.$eval('.Toastify', element => element.style.display = "none"); - await page.waitForSelector('button[aria-label="Leave audio"]'); + await page.waitForSelector('button[aria-label="Change/Leave audio"]'); await page.$eval('[class^=actionsbar] > [class^=center]', element => element.style.display = "none"); await page.mouse.move(0, 700); await page.addStyleTag({content: '@keyframes refresh {0%{ opacity: 1 } 100% { opacity: 0.99 }} body { animation: refresh .01s infinite }'});