Module

Selenium.XHR

Package
purescript-webdriver
Repository
slamdata/purescript-webdriver

#startSpying Source

startSpying :: Driver -> Aff Unit

Start spy on xhrs. It defines global variable in browser and put information about to it.

#stopSpying Source

stopSpying :: Driver -> Aff Unit

Return xhr's method to initial. Will not raise an error if hasn't been initiated

#clearLog Source

clearLog :: Driver -> Aff Unit

Clean log. Will raise an error if spying hasn't been initiated

#getStats Source

getStats :: Driver -> Aff (Array XHRStats)

Get recorded xhr stats. If spying has not been set will raise an error