Closed serdam55 closed 6 years ago
What exactly is wrong? I tried to change 2 to 3 in the browser addressbar (manually) and press Enter and I don't see any changes on the page too.
Yes, I'm sure, and here is a proof: https://www.screencast.com/t/dDyrM7P1u
You need a pause between page loads to actually update the data. Or a new session.
Or, even better, use Selenium to click elements on the page instead of GoToUrl.
@barancev For the video, I would say that I've had the same problem, I had to press enter more than once (don't know if is a Chrome problem), anyway, I'll try the click element, solution, there is a tutorial about that? Thanks
Please send questions to the selenium user group
I'm using Selenium for get the html of a website, I created a class that implement this logic:
and then in the main:
now the first request contains the correct html but the second request (which have an url that end with: ;3) return the same html of the first request. A strange thing is that: if I revert the link I get the correct html for the first request (which in the example is the second), and an incorrect html for the second request (which is the first in the example) What I did wrong?