I want to call the rest api in the selenium and save the JSON (response) in text file.
I also need to pass header value for webservice authentication.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
Why you wanted to use Selenium to call web-services? Selenium is not made for it. You can try few things using webdriver actually.