is_controlled_by_automation


Description:

[ NoAccessorMethod ]
[ Version ( since = "2.18" ) ]
public bool is_controlled_by_automation { get; construct; }

Whether the WebView is controlled by automation tools (e.

g. WebDriver, Selenium). This is required for views returned as a response to 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 related_view is also passed during construction, is_controlled_by_automation ignores its own parameter and inherits directly from the related view is_controlled_by_automation property. This is the recommended way when creating new views as a response to the create signal. For example, as response to JavaScript `window.open()` calls during an automation session.