Beispiel #1
0
 /// <summary>
 /// Triggers a change and input event once all the provided options have been selected.
 /// If there's no <![CDATA[<select>]]> element matching selector, the method throws an error.
 /// </summary>
 /// <exception cref="SelectorException">If there's no element matching <paramref name="selector"/></exception>
 /// <param name="selector">A selector to query page for</param>
 /// <param name="values">Values of options to select. If the <![CDATA[<select>]]> has the multiple attribute,
 /// all values are considered, otherwise only the first one is taken into account.</param>
 /// <returns>Returns an array of option values that have been successfully selected.</returns>
 /// <seealso cref="Page.SelectAsync(string, string[])"/>
 public Task <string[]> SelectAsync(string selector, params string[] values) => SecondaryWorld.SelectAsync(selector, values);