Entering non numeric input into element of type number using Dusk
I have a Dusk test that attempts to invoke an error by entering non-numeric values into form elements of type number.
When using the browser manually, I can enter the non-numeric values and invoke the error.
When attempting to enter non-numeric data using dusk, the first value is entered and then no others.
I believe that the WebDriver API doesn't want to allow the input of non-numeric values whereas the browser itself doesn't care what the content is though I am not 100% sure about that.
->keys('.fi-otp-input', ...str_split($secretKey))
The same script works as expected when entering numeric values.
Is there any way that I can enter the non-numeric data so that I can invoke the error. I'd prefer to do this through Dusk as there's a lot of Javascript involved.
Please or to participate in this conversation.