Taiko
Documentation

Home / API Reference

range

This selector let you specify a value which must be no less than a given value, and no more than another given value,attribute and value pairs and proximity selectors. This is typically represented using a slider or dial control rather than a text entry box like the number input type.

Examples

await range({ id: 'range-1' }).select(10.81);
await range({ id: 'range-1' }).select('10');
await range({ id: 'range-1' }, below('head')).select(10);

Parameters


_options

attrValuePairs

Pairs of attribute and value like {"id":"name","class":"class-name"}


args relativeSelector

Proximity selectors


Returns

RangeWrapper