Getting the value of text input #998
Unanswered
Abe-Froman
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Actually I figured out I can make the underlying searchTerm variable public (would rather avoid if I can) and then access it through I'll switch to doing this for now but if there's another way to achieve this while not having to make private fields public just for the sake of testing, I'm keen to hear it. Thanks again for making this library! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @Abe-Froman Have you tried using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new as of today to Bunit and enjoying it so far. Having trouble getting over this hurdle.
Let's say I have a table showing 50 states, and a text box at the top to filter table rows. How can I get the value of the textbox?
e.g.
I tried
.GetInnerText()
,.TextContent
,.InnerHtml
, all return empty strings.Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions