Failure to send '/' using sendkeys in rich text boxes in Linux

32 views
Skip to first unread message

dz f

unread,
Dec 1, 2022, 5:38:13 AM12/1/22
to Selenium Users
When I try to send something to a rich text box in Linux, The sent content will be scrambled, it look like the '/' was  escaped. And it's correct when i send to input box or send to rich text box in Windows. How can I solve this problem?

For example, if I send "c:/a.tx", it will become  "a.txc:"

System:centos7,amd64
selenium:"4.3.0"
chromeDriver:107.0.5304.62

SuperKevy

unread,
Dec 2, 2022, 6:18:08 PM12/2/22
to Selenium Users
Set the string into a variable theString = "c:/a.tx" then sendKeys the variable
You may need double // for a file upload. 
Reply all
Reply to author
Forward
0 new messages