Skip to content

How to multi line text without Enter click? #2444

Answered by mdmintz
Matios210 asked this question in Q&A
Discussion options

You must be logged in to vote

As long as your text doesn't end with \n, then when you type text into a text field, such as with self.type(selector, text), then it won't call self.submit(selector) on that element, which triggers a Send, etc.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants