Skip to content

Provide support for waiting for a value in a textarea element #1726

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
nathanhannig opened this issue May 5, 2021 · 3 comments · May be fixed by #1727
Closed

Provide support for waiting for a value in a textarea element #1726

nathanhannig opened this issue May 5, 2021 · 3 comments · May be fixed by #1727

Comments

@nathanhannig
Copy link

nathanhannig commented May 5, 2021

Feature request

While evaluating RobotFramework + SeleniumLibrary I found a use case where
the value of a textarea is changed and I would like to wait until the value matches some expected text.

Generally, you would expect Wait Until Element Contains would fill this scenario. But issue #167 showcases that textareas behave a little differently.

I believe that textareas would need their own Wait Until keyword to handle the .value property they contain.

@nathanhannig
Copy link
Author

nathanhannig commented May 6, 2021

I think the following should be added to match Textarea support to Element support

Wait Until Textarea Contains - wait_until_textarea_contains
Wait Until Textarea Does Not Contains - wait_until_textarea_does_not_contain
Wait Until Textarea Value Is - wait_until_textarea_value_is
Wait Until Textarea Value Is Not - wait_until_textarea_value_is_not

Textarea Should Not Contain - textarea_should_not_contain
Textarea Value Should Not Be - textarea_value_should_not_be

@nathanhannig
Copy link
Author

nathanhannig commented May 6, 2021

I will work on a PR for this

Wait Until Textarea Contains - wait_until_textarea_contains
Wait Until Textarea Does Not Contains - wait_until_textarea_does_not_contain
Wait Until Textarea Value Is - wait_until_textarea_value_is
Wait Until Textarea Value Is Not - wait_until_textarea_value_is_not

@emanlove
Copy link
Member

This can be accomplished with existing Wait For Expected Condition keyword. Closing this issue as such.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants