From 698950d346dc51ed5d2ec7dbdc0170e29279a27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Wed, 18 Sep 2024 23:10:28 +0200 Subject: [PATCH] fix user prompt? --- index.mts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.mts b/index.mts index 0664bb7..d08f862 100644 --- a/index.mts +++ b/index.mts @@ -16,10 +16,9 @@ logger.debug("Browser started, opening the page"); const page = await browser .pages() .then((pages) => pages[0] || browser.newPage()); -await page.goto("https://meet.freifunk-aachen.de"); -logger.debug("Joining room"); -await page.locator("#enter_room_field").fill("parsifalove"); -await page.locator("#enter_room_button").click(); +await page.goto("https://meet.freifunk-aachen.de/parsifalove"); +logger.debug("Joining meeting"); +await page.click('[aria-label="Join meeting"]'); logger.trace("Waiting for the room to load"); await page.waitForSelector("body");