setScriptExecutionDisabled method

Future<void> setScriptExecutionDisabled(
  1. bool value
)

Switches script execution in the page. value Whether script execution should be disabled in the page.

Implementation

Future<void> setScriptExecutionDisabled(bool value) async {
  await _client.send('Emulation.setScriptExecutionDisabled', {
    'value': value,
  });
}