k6 Browser Recorder

k6 Browser Recorder

Record k6 scripts right from the browser, automatically uploaded to your k6.io cloud account.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "k6 Browser Recorder",
  "version": "0.6.2",
  "manifest_version": 2,
  "description": "Record k6 scripts right from the browser, automatically uploaded to your k6.io cloud account.",
  "homepage_url": "https://k6.io/",
  "author": "Load Impact",
  "permissions": [
    "debugger",
    "browsingData",
    "http://*/*",
    "https://*/*",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webRequest",
    "webNavigation",
    "downloads"
  ],
  "icons": {
    "32": "images/[email protected]",
    "48": "images/[email protected]",
    "64": "images/[email protected]",
    "128": "images/[email protected]"
  },
  "content_security_policy": "script-src 'self' 'unsafe-eval' https://api.k6.io; object-src 'self'",
  "browser_action": {
    "default_icon": {
      "32": "images/[email protected]",
      "48": "images/[email protected]"
    },
    "default_title": "k6 Browser Recorder",
    "default_popup": "popup.html"
  },
  "commands": {
    "toggle-recording": {
      "suggested_key": {
        "default": "Ctrl+E"
      },
      "description": "Toggle start stop recording",
      "global": true
    }
  },
  "externally_connectable": {
    "matches": [
      "*://*.k6.io/*"
    ]
  },
  "web_accessible_resources": [
    "inject-data.js",
    "inject-extension-meta.js",
    "background.map.js",
    "popup.map.js"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://app.dev.k6.io:9000/*",
        "https://app.staging.k6.io/*",
        "https://app.k6.io/*"
      ],
      "js": [
        "inject-extension-meta.js"
      ],
      "run_at": "document_end"
    }
  ],
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": true
  }
}