Part 3 - Fetch Response Headers || Playwright Java API Automation
1. headers() method:
An object with all the response HTTP headers associated with this response.
Usage: APIResponse.headers();
Returns: Map of String, String
2. headersArray() method:
An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as Set-Cookie, appear in the array multiple times.
Usage: APIResponse.headersArray();
Returns: List of HttpHeader
Schedule a meeting in case of any queries/guidance/counselling:
https://calendly.com/naveenautomation...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Naveen%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
https://t.me/joinchat/9FrG-KzGlvxjNmQ1
Naveen AutomationLabs Paid Courses:
GIT Hub Course:
https://naveenautomationlabs.com/gitc...
Java & Selenium:
https://naveenautomationlabs.com/sele...
Java & API +POSTMAN + RestAssured + HttpClient:
https://naveenautomationlabs.com/manu...