auto_ScrollToElement

public void auto_ScrollToElement(String locator){
    page.locator(locator).scrollIntoViewIfNeeded();
}
What are your feelings
Scroll al inicio