### Property

# WebKit WebView:is-controlled-by-automation

since: 2.18

#### Declaration

    property is-controlled-by-automation: gboolean [ read, write, construct-only ]

#### Description [src]

Whether the `WebKitWebView` is controlled by automation tools (e.g. WebDriver, Selenium). This is required for views returned as a response to `WebKitAutomationSession::create-web-view` signal, alongside any view you want to control during an automation session.

As a `G_PARAM_CONSTRUCT_ONLY`, you need to set it during construction and it can’t be modified.

If `WebKitWebView:related-view` is also passed during construction, `WebKitWebView:is-controlled-by-automation` ignores its own parameter and inherits directly from the related view `WebKitWebView:is-controlled-by-automation` property. This is the recommended way when creating new views as a response to the `WebKitWebView::create` signal. For example, as response to JavaScript `window.open()` calls during an automation session.

Type: | `gboolean`
Available since: | 2.18

Default value | FALSE

#### Flags

Readable | yes
Writable | yes
Construct | no
Construct only | yes