0

I want to capture the param and header parameter passed from request when page submit in java. This output we can see in the "net" of firebug.

thanks

2 Answers 2

1

If your question is: "how a selenium test can obtain header parameter(s) from requests / responces?" then the official selenium answer is: you can't, since it falls outside of "emulating user actions" scope

There are some workarounds though, I think best of them is through proxy

Sign up to request clarification or add additional context in comments.

Comments

0

I did'nt understand what you are looking for exactly. As per my understanding you should look at the getCurrentUrl() method and do the required string operations

String url = driver.getCurrentUrl();

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.