setRPHRegistrationMode method
Extensions for Custom Handlers API: https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
Implementation
Future<void> setRPHRegistrationMode(
@Enum(['none', 'autoAccept', 'autoReject']) String mode,
) async {
assert(const ['none', 'autoAccept', 'autoReject'].contains(mode));
await _client.send('Page.setRPHRegistrationMode', {'mode': mode});
}