I am a little bit of a noob and I am trying to make a script that scrapes a specific website. I am trying to get a link out of the HTML code of that website with getProperty, but it doesn't work, and I don't know how I can solve this. Could anyone help me?
const link = await page.$x('/html/body/div[4]/div[3]/div/div[2]/div/div/div/div/div[1]/div/div[1]');
const linkurl = await link.getProperty('href');
const tags = url.querySelector('href');