could you please help me with targeting the concrete element in e2e test?
I´m using Jest and Puppeteer and I have this DOM structure (see in attachment below): And I need to target the red underlined element. How would you target that element?
I tried it like this,
const inputContent = await page.findAll(
'usu-date-picker >>> .sc-usu-input >>> div',
);
console.log(inputContent[1]);
but what I got returned was element with type node "INPUT", which I don´t understand why.
Thank you for your help.