webkit.automation_session

Module for [AutomationSession] class

Types 3

Automation Session.

WebKitAutomationSession represents an automation session of a WebKitWebContext. When a new session is requested, a WebKitAutomationSession is created and the signal WebKitWebContext::automation-started is emitted with the WebKitAutomationSession as argument. Then, the automation client can request the session to create a new #WebKitWebView to interact with it. When this happens the signal #WebKitAutomationSession::create-web-view is emitted.

Methods
GType _gType() @property
AutomationSession self()Returns `this`, for use in `with` statements.
AutomationSessionGidBuilder builder()Get builder for [webkit.automation_session.AutomationSession] Returns: New builder object
string id() @propertyGet `id` property. Returns: The session unique identifier.
webkit.application_info.ApplicationInfo getApplicationInfo()Get the the previously set #WebKitAutomationSession.
string getId()Get the unique identifier of a #WebKitAutomationSession Returns: the unique identifier of session
void setApplicationInfo(webkit.application_info.ApplicationInfo info)Set the application information to session.
gulong connectCreateWebView(T)(string detail = null, T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T : webkit.web_view.WebView) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.automation_session.AutomationSession))) && Parameters!T.length < 2)Connect to `CreateWebView` signal.
gulong connectWillClose(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.automation_session.AutomationSession))) && Parameters!T.length < 2)Connect to `WillClose` signal.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T id(string propval)Set `id` property. Params: propval = The session unique identifier. Returns: Builder instance for fluent chaining

Fluent builder for [webkit.automation_session.AutomationSession]