So, what\'s I want to do is to run a function on a specific webpage (which is a match with my regex).
Right now I\'m checking it every second and it works, but I\'m
To really know that the URL has changed, you need to know the old one. Using WebDriverWait the implementation in Java would be something like:
wait = new WebDriverWait(driver, 10);
wait.until(ExpectedConditions.not(ExpectedConditions.urlToBe(oldUrl)));
I know the question is for Python, but it's probably easy to translate.