Troubleshooting Front-end issues#

These steps show how to capture JavaScript Console Logs, Network Logs & Iframe URLs

Step 1: Open Chrome Developer Tools#

  1. Open the webapp in Chrome and reproduce the issue

  2. Right-click > Inspect Or Ctrl+Shift+I (Windows/Linux) / Cmd+Option+I (Mac)

Step 2: Capture JavaScript Console Logs#

  1. In the DevTools panel, go to the Console tab

  2. This shows JavaScript errors, warnings, and custom console.log() statements.

  3. To Save Console Logs:

    • Right-click in the Console

    • Click “Save as…”

    • Save the .log file (or copy-paste logs into a .txt)

image

Step 3: Capture Network Logs#

  1. Go to the Network tab

  2. Check the box: Preserve log (top-left)

  3. Reload the page so all requests (including iframe loads) are captured

  4. In the filter/search bar, type: graph.html

  5. Click on the matching request for your issue

  6. You’ll now see detailed tabs:

    • Headers: View full Request and Response headers

    • Preview/Response: See content

  7. To export:

    • Click on the down arrow in the menu bar near the top -> Export Har file and save it to disk to send later

    • Or copy headers manually from the Headers tab if only one request matters

Screenshot 2025-07-02 115822

Step 4: Get the iframe’s full URL#

  1. Go to Elements tab

  2. Press Ctrl + F and search for: iframe

  3. Find the iframe element that loads graph.html

  4. Check the src attribute - this is the full URL

Example:#

<iframe src="https://example.com/path/to/graph.html"></iframe>

image

Right-click > Copy link address

Send back this link address to Graphistry Support Team so we can see: protocol + domain + subpath

Step 5: Capture Parent Frame URL (Page Origin)#

While still in DevTools:

  1. Go to the Console tab

  2. Type and run:

window.location.href

This gives the parent frame’s full URL, e.g.,

https://myserver.domain.com/path

image

Also run:

window.location.origin

image

To confirm just protocol + domain (e.g., https://myapp.domain.com)

Step 6: Send the following back to the Graphistry Support Staff:#

Item

Where to Get

Full iframe URL

From Elements tab or Console

Request + Response Headers for iframe

From Network tab: graph.html

Full Parent Page URL

window.location.href in Console

HAR file

From Network tab

Console logs

From Console tab