import { Page } from "https://deno.land/x/fresh@1.4.0/tests/deps.ts";
Triggers a change
and input
event once all the provided options have been
selected. If there's no <select>
element matching selector
, the method
throws an error.
Examples
Example 1
Example 1
page.select('select#colors', 'blue'); // single selection
page.select('select#colors', 'red', 'green', 'blue'); // multiple selections
Parameters
- A Selector to query the page for