X
X
xfn2016-05-31 16:48:05
Node.js
xfn, 2016-05-31 16:48:05

Nightmare, passing Cyrillic letters to input?

nightmare
  .goto('http://some.site.ru')
  .type('input[id="regnum"]', 'В236СВВВВ')

How to transfer/convert to Cyrillic? Tried iconv-lite, didn't work. At the same time, Latin ones are inserted into the input, i.e. Let's just say it works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-05-31
@Sanasol

Script in UTF-8 save

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question