Brian Alexander
Results
1
issues of
Brian Alexander
``` from requests_html import HTMLSession, HTMLResponse expected_error_text = "Error" session: HTMLSession = HTMLSession() response: HTMLResponse = session.get("https://www.example.com/error") assert expected_error_text in response.html.find('div.error-page-content')[0].text ``` In my IntelliJ IDEA the **session.get** line is...