please, when I run the test, it always stops at the “scroll element into view” step. it gives me the error “ELEMENT with locator not found”. although my xpath is correct. I check it on the amazon page.
Are you 100% sure that url didn’t change?
I would suggest you try an xpath like this
Not only will this survive the url being dynamic, but it should hopefully be more obvious to another tester following you to maintain the test as to what the test is trying to do.
ok dave . thanks for your proposition