Exemple #1
0
 internal Task DispatchEventAsync(bool isPageCall, string selector, string type, object eventInit = null, int?timeout = null)
 => _channel.DispatchEventAsync(
     selector,
     type,
     eventInit == null ? EvaluateArgument.Undefined : ScriptsHelper.SerializedArgument(eventInit),
     timeout,
     isPageCall);