Please note that this question is related to selenium.
Before submitting an HTML form, i.e. selenium.click("//button[@type='submit']");
I want to enter a pair of name-level values ββat my own level in an HTTP message back to the server, for example.
Change HTTP message from:
POSTDATA=register=true&accountType=customer
To:
POSTDATA=register=true&accountType=customer&mynewfield=true
Working with Selenium commands is not obvious how to intercept and modify what is sent to the server.
Any ideas on how to achieve the desired result in selenium or something that can be called from selenium? Feel free to rate NJ
source share