isAutomationAllowed method

  1. @SupportedPlatforms.new(platforms: [LinuxPlatform(apiName: 'webkit_web_context_is_automation_allowed', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.is_automation_allowed.html')])
Future<bool> isAutomationAllowed()

Returns whether automation is allowed for this WebContext.

When automation is allowed, web pages can use the WebDriver API.

Officially Supported Platforms/Implementations:

Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    LinuxPlatform(
      apiName: 'webkit_web_context_is_automation_allowed',
      apiUrl:
          'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.is_automation_allowed.html',
    ),
  ],
)
Future<bool> isAutomationAllowed() {
  throw UnimplementedError(
    'isAutomationAllowed is not implemented on the current platform',
  );
}