当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Get POST data in Selenium Webdriver

问题描述:

Is it possible to get the POST data in Webdriver? If so, how do you do it?

I can hardly find anything.

I know I could do it manually by reading the values of the forms I submit, but I'd like to make a reusable method, where I need the POST data.

Thanks for any help.

网友答案:

We can make better usage of Tools like
YSlow, Firebug , ShowSlow to read the http headers that are sent and recieved by browser

We had tried only for firefox and it works fine on our end

网友答案:

Checkout browsermob-proxy it should get you the POST data using WebDriver

分享给朋友:
您可能感兴趣的文章:
随机阅读: