fix user prompt?

This commit is contained in:
Tomáš Mládek 2024-09-18 23:10:28 +02:00
parent a3ab71aa36
commit 698950d346

View file

@ -16,10 +16,9 @@ logger.debug("Browser started, opening the page");
const page = await browser const page = await browser
.pages() .pages()
.then((pages) => pages[0] || browser.newPage()); .then((pages) => pages[0] || browser.newPage());
await page.goto("https://meet.freifunk-aachen.de"); await page.goto("https://meet.freifunk-aachen.de/parsifalove");
logger.debug("Joining room"); logger.debug("Joining meeting");
await page.locator("#enter_room_field").fill("parsifalove"); await page.click('[aria-label="Join meeting"]');
await page.locator("#enter_room_button").click();
logger.trace("Waiting for the room to load"); logger.trace("Waiting for the room to load");
await page.waitForSelector("body"); await page.waitForSelector("body");