Skip to content

Commit

Permalink
Merge pull request #9 from compsoc-edinburgh/new-ease-login
Browse files Browse the repository at this point in the history
Update for new ease logins
  • Loading branch information
penalosa authored Oct 14, 2020
2 parents 60b8dba + 17dbf70 commit 41e89ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scrape.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ module.exports = async (opts = {}) => {
.click('.student-login-block')
.wait('#login')
.insert('#login', opts.auth.email)
.click('[value="Continue"]')
.wait('#password')
.insert('#password', opts.auth.password)
.click('[value=" Login now "]')
.wait('[value="Log in"]')
.click('[value="Log in"]')
.wait('.member_list_group')
.evaluate(node_context => {
// executes in browser context
Expand Down

0 comments on commit 41e89ae

Please sign in to comment.