I need to test a logon api that is accessed through a get request.
The response is an html containing a login page where I must inform user, password and then click on logon button.
Then it returns two tokens and the expire time of such tokens. With this response I’ll be able to interact properly with the api.
Does anyone know a way to interact with the html through requests library or open this html with selenium library?
Also, if using selenium library, does anyone know a way to retrieve the response header?