browse_web
Open a URL in a Packet Tracer device's web browser to return the page status, server address, HTML, and text.
Instructions
Open a URL in the Web Browser of a PC, laptop or server, like typing it and pressing Go, and return the page Packet Tracer served: its status (ok, timeout, host_not_found, ...), the server's address, the HTML and the text. Names are resolved through the host's DNS server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Address as typed in the browser, for example `http://www.gamc.bo` or `https://192.168.10.10/index.html`. `http://` is added when missing. | |
| device | Yes | PC, laptop or server whose Web Browser opens the page. | |
| timeout_secs | No | Seconds to wait for the page. Defaults to 30, maximum 300. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| html | Yes | ||
| text | Yes | The page as readable text. | |
| device | Yes | ||
| server | No | The address the name resolved to, when it did. | |
| status | Yes | `ok`, `not_found`, `timeout`, `host_not_found`, `dns_server_not_found`, ... |