Send non printable characters to text field using watir ruby -


i need send non printable characters text field using watir

my test case send 1..127 in encoded format. in ruby, chr used value in ascii encoded format.

when send value microsoft edge, not work; triggers browser control command.

the link confirms it

http://www.physics.udel.edu/~watson/scen103/ascii.html

code tried

browser.send_keys("\\x001") browser.send_keys(1.chr) 

error

selenium::webdriver::error::webdrivererror exception: unexpected response, code=500, content-type="text/plain" unknown error

i tried read using file , content, did not work. in msedge chr, prints dialog or searches.

is there other solution available sending specially non printable characters 0 31 in ascii?


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -