Page.navigate

Navigates current page to the given URL.

{
  "name": "navigate",
  "parameters": [
    {
      "name": "url",
      "type": "string",
      "description": "URL to navigate the page to."
    },
    {
      "name": "referrer",
      "type": "string",
      "optional": true,
      "description": "Referrer URL."
    },
    {
      "name": "transitionType",
      "$ref": "TransitionType",
      "optional": true,
      "description": "Intended transition type."
    }
  ],
  "returns": [
    {
      "name": "frameId",
      "$ref": "FrameId",
      "description": "Frame id that has navigated (or failed to navigate)"
    },
    {
      "name": "loaderId",
      "$ref": "Network.LoaderId",
      "optional": true,
      "description": "Loader identifier."
    },
    {
      "name": "errorText",
      "type": "string",
      "optional": true,
      "description": "User friendly error message, present if and only if navigation has failed."
    }
  ],
  "description": "Navigates current page to the given URL."
}