selectOption(value:string)
Selects an option which value matches the argument from a select box.
Usage
import {Component, List, defaults, field} from "xenon";
class SearchPage extends Component {
@field(Component, {css:".sorting-select"})
sorting:Component
}
describe("search App features", () => {
it("general acceptance", () => {
browser.get("http://localhost:3002")
let searchPage:SearchPage = new SearchPage();
searchPage.sorting.selectOption("Latest")
})
})