开发者

How to detect if a URL fires upon loading a page

We're trying to val开发者_高级运维idate if a URL fires upon loading a web page. Is there a way to do this programmatically using Selenium RC? The event does not appear within the page HTML or DOM.

Thanks.


Can you specify the URL as part of your test? If so, then what about running a httpd server and checking if it gets a hit when your page loads?


The selenium.start("captureNetworkTraffic=true"); enables the 'capture' of all the HTTP requests/responses associated with the loading of the web page. Once formatted, these results can be reported easily.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜