Taiko
Documentation

Home / API Reference

to

This function is used to improve the readability. It simply returns the parameter passed into it.

Examples

await attach('c:/abc.txt', to('Please select a file:'))

Parameters


selector

Web element selector.


Returns

selector - Web element selector.