Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99418

Read JSON response when selenium clicks on a button

$
0
0

I am currently working on learning selenium and my current requirement is to read an API JSON response when a certain button inside my application UI is clicked. I mainly use Java and selenium but I have the flexibility in using any other language.

The click triggers an event which hits an API and a response is received. Hitting the API directly without going through the UI is not an option. Additionally, when using Developer Tools in chrome, i can see the response in the "Network" tab. If there is any way that i could just read the "Network" tab, that is also acceptable.


Viewing all articles
Browse latest Browse all 99418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>