Details
-
Sub-task
-
Resolution: Resolved
-
Neutral
-
None
-
None
-
None
Description
Additional methods:
MagnoliaHttpClient requestUrl(String requestUrl
To set the requestUrl - bypassing instance and path this way.
public String sendRequestAndGetResponseUrl()
To get the location of the response - e.g. to figure out whether a relocation happened.
Note that okhttp3.Response.isRedirect() is not really working as expected.
Those methods should help to replace some of the "deprecated" tests using com.gargoylesoftware.htmlunit.