Capture X-Access-Token, Password and other headers from Selenium request I have created the following code to login on a site using HttpClient: