Show / Hide Table of Contents

Interface IWebView

Describes web view object.

Inherited members

System.IDisposable.Dispose()

Properties

| Improve this Doc View Source

CanExecuteJavascriptInMainFrame

Gets a flag that indicates if you can execute javascript in the main frame.

Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Close()

Closes view.

| Improve this Doc View Source

DeleteCookies(String, String)

Deletes cookies.

Parameters
Type Name Description
System.String url

Cookie URL.

System.String name

Cookie name.

| Improve this Doc View Source

DeleteDomainCookies(String)

Deletes all cookies from specified domain.

Parameters
Type Name Description
System.String domain

Cookie domain.

| Improve this Doc View Source

EvaluateScriptAsync(String)

Evaluates JavaScript script in the browser instance.

Parameters
Type Name Description
System.String script
Returns
Type Description
System.Threading.Tasks.Task<JavaScriptEvaluationResult>
| Improve this Doc View Source

GetCookies()

Gets all cookies.

Returns
Type Description
System.Collections.Generic.List<HttpCookie>

List of cookies.

| Improve this Doc View Source

GetCurrentAddress()

Gets current URL address.

Returns
Type Description
System.String

URL address.

| Improve this Doc View Source

GetPageSource()

Gets document source.

Returns
Type Description
System.String

Document source.

| Improve this Doc View Source

GetPageSourceAsync()

Gets document source.

Returns
Type Description
System.Threading.Tasks.Task<System.String>

Document source task.

| Improve this Doc View Source

GetPageText()

Gets page text.

Returns
Type Description
System.String

Page text.

| Improve this Doc View Source

GetPageTextAsync()

Gets page text.

Returns
Type Description
System.Threading.Tasks.Task<System.String>

Page text.

| Improve this Doc View Source

Navigate(String)

Navigates to url.

Parameters
Type Name Description
System.String url

URL to load.

| Improve this Doc View Source

NavigateAndWait(String)

Navigates to url and wait for page to be loaded.

Parameters
Type Name Description
System.String url

URL to load.

| Improve this Doc View Source

Open()

Open view.

| Improve this Doc View Source

OpenDialog()

Open view as modal dialog.

Returns
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

SetCookies(String, HttpCookie)

Sets cookie data.

Parameters
Type Name Description
System.String url

Cookie URL.

HttpCookie cookie

Cookie data.

| Improve this Doc View Source

SetCookies(String, String, String, String, String, DateTime)

Sets cookie data.

Parameters
Type Name Description
System.String url

Cookie URL.

System.String domain

Cookie domain.

System.String name

Cookie name.

System.String value

Cookie value.

System.String path

Cookie url path.

System.DateTime expires

Expiration date.

Events

| Improve this Doc View Source

LoadingChanged

Occurs when web view loading changes, for example when page is loaded.

Event Type
Type Description
System.EventHandler<WebViewLoadingChangedEventArgs>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX