Skip to content

Commit

Permalink
Merge pull request #99 from alfficcadenti/loginIssue
Browse files Browse the repository at this point in the history
Login issue fixed
  • Loading branch information
alfficcadenti authored Jan 8, 2022
2 parents 4a4dc13 + 9e28549 commit 7d68bf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "splinterlands-bot",
"version": "1.8.3",
"version": "1.8.4",
"description": "",
"main": "main.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion splinterlandsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function login(page, account, password) {
.then(() => page.type('#password', password))

// .then(() => page.waitForSelector('#login_dialog_v2 > div > div > div.modal-body > div > div > form > div > div.col-sm-offset-1 > button', { visible: true }).then(() => page.click('#login_dialog_v2 > div > div > div.modal-body > div > div > form > div > div.col-sm-offset-1 > button')))
.then(() => page.keyboard.press('Enter'))
.then(() => page.click("#loginBtn"))
.then(() => page.waitForTimeout(5000))
.then(() => page.reload())
.then(() => page.waitForTimeout(5000))
Expand Down

0 comments on commit 7d68bf4

Please sign in to comment.