# WebBrowser

The `WebBrowser` control displays web pages and browser-enabled documents in Wisej.NET applications. It provides HTML-based user assistance and web browsing capabilities. You can also use it to integrate existing web-based controls into your application.

The `WebBrowser` control uses an HTML [iframe element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) for content rendering.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Load Webpages

Use the `Url` property to load any valid webpage, including other Wisej.NET applications.

![WebBrowser control demonstrating webpage loading capabilities](/files/-MjQWLB8_HCT8-gvSXGk)

{% hint style="danger" %}
The `WebBrowser` control follows standard HTML IFrame element Cross-Origin policies and limitations. [Learn more here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).
{% endhint %}

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                                                                                                     |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.WebBrowser"                                                                                                                                                                          |
| Theme appearance | "panel", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                                                                                                            |
| Child components | "pane" is the container. "captionbar" is the header. "title" is the title. "icon" is the icon. "close-button" is the close button. See [JavaScript](/docs/concepts/javascript-object-model.md). |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js)                                                                             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/controls/content/webbrowser.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
