https://i.sstatic.net/BxR3p.jpg
Hello, I am struggling to click on the firmware upgrade button after selecting system tools. When using the ID or selector and attempting to copy it, I receive an error message stating that the element cannot be found.
This is my first time working with Puppeteer, so if anyone can offer assistance, I would greatly appreciate it!
Thank you
const puppeteer = require('puppeteer');
let scrape = async () => {
const browser = await puppeteer.launch({headless: false});
const page = await browser.newPage();
await page.setViewport({width: 1000, height: 500})
await page.goto('http://192.168.2.107:8080/', {waitUntil: 'networkidle2'});
await page.waitFor('input[id=pcPassword]');
await page.$eval('input[id=pcPassword]', el => el.value = 'admin');
page.keyboard.press('Enter')
await page.waitFor(3000);
await page.click(
'[id="the Id im talking about "]'
);
//await page.waitFor(5000);
await browser.close();
};