Simple question, is it possible to resume selenium code the moment the browser lands on a certain URL?
Advertisement
Answer
JavaScript
4
1
import sys
2
3
WebDriverWait(driver, sys.maxsize - 1).until(lambda s: s.current_url == "https://www.myurl.com/")
4