import type PageOptions from '../types/PageOptions'; import get from './get'; /** * Type into a form input. * @param {string} selector The input selector. * @param {string} text The text to type. * @param {PageOptions} options * @returns {Promise} */ export default async function type(selector: string, text: string, options?: PageOptions): Promise { const element = await get(selector, options); return element.type(text); }