isAutomationAllowed method
Returns whether automation is allowed for this WebContext.
When automation is allowed, web pages can use the WebDriver API.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_is_automation_allowed)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isAutomationAllowed() => platform.isAutomationAllowed();