0

is there any Way, without using a Proxy, to catch the Network Response with Selenium(-Wire)?

Text

1 Answer 1

1

With selenium wire yes.

driver.last_request.response

for the last response.

You can also get the first or all responses.

print(driver.last_request.response)

Will, in your case, print "200 OK"

You can also get just the response code with:

driver.last_request.response.status_code
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.