Esempio n. 1
0
 internal async Task <IEnumerable <IElementHandle> > QuerySelectorAllAsync(bool isPageCall, string selector)
 => (await _channel.QuerySelectorAllAsync(selector, isPageCall).ConfigureAwait(false)).Select(c => ((ElementHandleChannel)c).Object);
Esempio n. 2
0
 internal async Task <IReadOnlyCollection <IElementHandle> > QuerySelectorAllAsync(bool isPageCall, string selector)
 => (await _channel.QuerySelectorAllAsync(selector, isPageCall).ConfigureAwait(false)).Select(c => ((ElementHandleChannel)c).Object).ToList().AsReadOnly();