Beispiel #1
0
 /// <summary>
 /// Fetches an element with <paramref name="selector"/> and focuses it
 /// </summary>
 /// <param name="selector">A selector to search for element to focus. If there are multiple elements satisfying the selector, the first will be focused.</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 focused</returns>
 public Task FocusAsync(string selector) => SecondaryWorld.FocusAsync(selector);