Context object.
The selector for the input element.
Optional
waitOptions: WaitValueOptionsWait options.
const selector = '#input-field-id';
const waitOptions = { timeout: 5000, polling: 100, initialValue: 'initial value' };
waitForValueChange(context, selector, waitOptions)
.then(handle => console.log('Value changed', handle))
.catch(error => console.error('Error waiting for value change', error));
Waits for the value to change for a given input fields.