I am writing a code using playwright test and its working fine in debug mode but normally its not able to find the element because not able to scroll down the page., I have tried using scrollintoview and mouse.move funtion as well.
I am writing a code using playwright test and its working fine in debug mode but normally its not able to find the element because not able to scroll down the page., I have tried using scrollintoview and mouse.move funtion as well.
If you want to perform the click operation on that element, then page.click() function internally scroll into view to the target element.
Reference: https://playwright.dev/docs/api/class-page#page-click
page.click(selector[, options])
This method clicks an element matching selector by performing the following steps: