A namespace to cover Chrome's devtools features.
A namespace to cover Chrome's devtools features.
(ajax? request)
Whether it's an XHR request.
Whether it's an XHR request.
(build-request logs)
Takes a vector of request logs of the same ID and builda request map.
Takes a vector of request logs of the same ID and builda request map.
(get-ajax driver)
Return a list of XHR (Ajax) HTTP requests made by a browser.
Return a list of XHR (Ajax) HTTP requests made by a browser.
(get-performance-logs driver)
Get a seq of special performance
logs that come from
a dev console. Works only when a special perfLoggingPrefs
was set (see the :dev
key when running a driver).
Get a seq of special `performance` logs that come from a dev console. Works only when a special `perfLoggingPrefs` was set (see the `:dev` key when running a driver).
(get-requests driver)
Return a list of HTTP requests made by a browser.
Return a list of HTTP requests made by a browser.
(group-requests logs)
Group a set of request logs by their ID.
Group a set of request logs by their ID.
(log->request acc log)
A helper for a further reduce (see below). Acc is an accumulation map.
A helper for a further reduce (see below). Acc is an accumulation map.
(logs->ajax logs)
The same as logs->requests
but return only AJAX requests.
The same as `logs->requests` but return only AJAX requests.
(logs->requests logs)
From a list of log entries, create a list of requests.
From a list of log entries, create a list of requests.
(parse-method method)
Turns a string like 'Network.SomeAction' into a keyword :network/someaction.
Turns a string like 'Network.SomeAction' into a keyword :network/someaction.
(process-log log)
Takes a log map, parses its message and merges the message into the map.
Takes a log map, parses its message and merges the message into the map.
(request-done? request)
Whether a request has been done. It doesn't necessarily mean it was successful though.
Whether a request has been done. It doesn't necessarily mean it was successful though.
(request-failed? request)
True if a request has been failed.
True if a request has been failed.
True when a request has been finished and not failed.
True when a request has been finished and not failed.
(request? log)
True if a log entry belongs to a network domain.
True if a log entry belongs to a network domain.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close