From c9a8fd30d5b9496f17af473ee19587f6ea8660d5 Mon Sep 17 00:00:00 2001 From: Patrick Kage Date: Sat, 19 Oct 2019 12:04:30 +0100 Subject: [PATCH] skip emitting keyboard events on EASE page --- scrape.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrape.js b/scrape.js index c541dc5..0de527e 100644 --- a/scrape.js +++ b/scrape.js @@ -64,8 +64,8 @@ module.exports = (opts = {}) => { .goto(`https://www.eusa.ed.ac.uk/organisation/memberlist/${orgID}/?sort=groups`) .click('.student-login-block') .wait('#login') - .type('#login', opts.auth.email) - .type('#password', opts.auth.password) + .insert('#login', opts.auth.email) + .insert('#password', opts.auth.password) .click('[value=" Login now "]') .wait('.member_list_group') .evaluate(node_context => {