Browser Tracer

This functionality is available for Basic Engine Robots only.

The Browser Tracer is available from the Tools menu in Design Studio. The Browser Tracer can trace HTTP traffic in Design Studio as well as JavaScript console messages for robots that use the Default (WebKit) browser engine. The Browser Tracer is useful for performance tuning robots and figuring out workarounds for sites that do not work out-of-the-box.

Tracing

To start tracing, enable the Record button. While recording, especially if using JavaScript recording, things may run much slower than normal as vast amounts of data are collected. Make sure to disable the Record button once you have traced the traffic you wanted.

HTTP Trace

The HTTP trace shows HTTP traffic. Selecting a trace entry shows the details about that HTTP event in the detail view below the trace. The detail view shows the request and response headers, as well as the request and response data sent. Normally, only POST requests will contain request data.

Pending loads are shown in blue.

Block URL

You can block certain URLs by right-clicking an item in the HTTP list and selecting Add URL to block. The Configure URL Blocking Pattern dialog box opens for you to edit the URL pattern. See URL Blocking for more information.

JavaScript Trace

Below each JavaScript trace, the console message coming from JavaScript source code for the currently selected trace entry is shown. When you select a trace entry, the corresponding source code line is highlighted in the source view. The trace entry is the runtime result of the execution of the highlighted source code line. Each source code line may, of course, be executed multiple times, in which case multiple trace entries are produced, all corresponding to the same source code line.

Stepping through trace entries can help you understand how a piece of JavaScript code works.

It is possible to turn off tracing of JavaScript if you are only interested in the HTTP trace. To do so, clear the Enable JavaScript Tracing check mark in the Trace menu.

Save and load trace sessions

You can save trace sessions to load at a later time. A trace session contains both the Design Studio trace and the proxy trace, and both JavaScript and HTTP traces. Saving a trace session can be useful if it is large and you want to look at it in detail later, or if you want to mail it to someone else.

Bug reports submitted from Design Studio will automatically contain the current trace session, if any.

If downloaded content is changed by "Page Changes" or "JavaSript changes", the browser tracer adds an extra line where the changed content is shown in the response tab. The URL starts with Rewritten.

Save trace response
You can save trace responses by their path.

Click File > Save or File > Save As to open a Save dialog box and choose the directory to save all body responses.

All requests are saved by their path in the domain directory of the selected folder.