java - How to catch HTTP 302 response via Selenium Webdriver? -
i want automate following scenario:
click on image
before destination page, server redirects me url (e.g abc.com).
http response--> 302 found- there redirection url (e.g def.com).
http response--> 302 found - destination url reached (e.g xyz.com)
http response--> 301 moved permanently
i interested in step2. need verify (abc.com) received 302 response before xyz.com reached. there way in selenium webdriver? if not, how can implement in java?
Comments
Post a Comment