简体   繁体   中英

Java Selenium: how to read Network tab output during the test run?

Is there anyway to capture what is streaming in Network tab during test run? I need to verify that server send the particular response which is visible in Network tab. I need it to verify that based on response, the particular UI is displayed. Thank you so much for any hint. gala

What you need is to proxy your WebDriver browser. Check this question .

Alternatively you could use ZAP . This is a sample setup with Selenium WebDriver, but it might be an overkill.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM