问题
I am using AutoIt to handle a browser authentication window which Selenium can't access. Below is my AutoIt code.
Send("demo")
Send("{TAB}")
Send("password#99@TT")
It only sends password#
; remaining characters 99@TT
are skipped. Please let me know how to pass such a string via Send() command.
回答1:
In the documentation of AutoIt about the Send()
function you have an option to send RAW.
See more documentation here
In your case, I would try Send("password#99@TT", 1)
Hope this helps!
Edit
You can try also Send("password{#}99@TT")
I have found just now this answer link, I think it can help you.
来源:https://stackoverflow.com/questions/52622171/how-to-use-send-to-pass-a-string-like-password99tt