I want to collect a series of responses when navigating a website, and afterwards "recreate" the process using the responses.
From an other thread I found this solution to render HTML:
content = requests.get("https://stackoverflow.com/").content
driver = webdriver.Chrome()
driver.get("data:text/html;charset=utf-8," + content)
Unfortunately, when I try this (using Firefox instead of Chrome), the content is simply put into the browser address bar.
How can I render a series of responses, including for example XHR-responses with selenium webdriver?