Beispiel #1
0
 /// <summary>
 /// Fetches an element with <paramref name="selector"/>, scrolls it into view if needed, and then uses <see cref="Page.Mouse"/> to hover over the center of the element.
 /// </summary>
 /// <param name="selector">A selector to search for element to hover. If there are multiple elements satisfying the selector, the first will be hovered.</param>
 /// <exception cref="SelectorException">If there's no element matching <paramref name="selector"/></exception>
 /// <returns>Task which resolves when the element matching <paramref name="selector"/> is successfully hovered</returns>
 public Task HoverAsync(string selector) => SecondaryWorld.HoverAsync(selector);