I need to fill the body of an email client application on a real smartphone. I am using Python 3.7 + Appium.
I tried to send_keys a text with '\n' for each new line but it didn't work.
This is the string:
text="Bonjour {username},\nJe recherche des testeurs pour un nouveau logiciel marketing.\\nVoudriez-vous le tester?\nCordialement."
and when I do send_keys:
p_body.send_keys(text)
it fill the textarea as a single line with the string \n inside the text. it doesn't lake 'new line'. :-(
I could try with ActionChains, but it doesn't accept the special characters with accents.
Anyone already tried to fill a paragraph of multiple lines in an input with Appium and send_keys?