[ Version ( since = "2.18" ) ]
public void set_automation_allowed (bool allowed)
Set whether automation is allowed in this.
When automation is enabled the browser could be controlled by another process by requesting an automation session. When a new automation session is requested the signal automation_started is emitted. Automation is disabled by default, so you need to explicitly call this method passing true to enable it.
Note that only one WebContext can have automation enabled, so this will do nothing if there's another WebContext with automation already enabled.
this |
the WebContext |
allowed |
value to set |