Closed xcage7 closed 4 years ago
There is an input form without a submit button & the only way to submit is my pressing enter which is '.type('body', '\u000d')' in nightmare, but it doesn't work. what can i do??
you can type Enter in input form:
nightmare .goto(url) .type('#login', 'login') .type('#password', 'password') .type('#password', '\u000d');
There is an input form without a submit button & the only way to submit is my pressing enter which is '.type('body', '\u000d')' in nightmare, but it doesn't work. what can i do??