For managing the script behaviour of tested application, the set of page extensions was also developed.
This extensions can be installed via PageExtensions class (avaiable from AjaxSelenium instance).
Currently there can be done with no modifications to extension scripts and it satisfies following functionality:
- catches XMLHttpRequests (XHR)
- decides if some request was done in time and what type of request it was (HTTP, XHR)