BackstopJS: Not able to scroll the page to end using scrollToSelector
I am using two files one to keep all the URLs and other variables and other to keep the scenario config const projectId = "test"; // let baseUrl = "someurl"; // let scrollToSelector = ""; let removeSelector = ""; // Replace the values of the below array with the relative URLs of your website. E.g., "/about", "/contact", "/pricing", etc. // Use just "/" to test the homepage of your website. // Add as many relative URLs as you need. const relativeUrls =[ "/about", "/documentation", "/case-studies/", "/solutions/", "/blog/" ]; relativeUrls.map(relativeUrl => { if (relativeUrl === "/about") { scro
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.