How to get and validate the value of an input in taiko? #2614
Franciscojose05
started this conversation in
Development
Replies: 1 comment 2 replies
-
You can use the evaluate to run a script of the browser and return it's value. for example
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i would like to get the value of an input in taiko.
In JS i would do something like this:
window.document.querySelectorAll('#beitrag_wert')[0].shadowRoot.getElementById('beitrag_wert-control').value
How do i get the value and validate it, whether it is lets say = 50?
Beta Was this translation helpful? Give feedback.
All reactions