From 2eaf4583d6ec71b2c452a32f897a71c1ced9c369 Mon Sep 17 00:00:00 2001 From: alfficcadenti Date: Sat, 8 Jan 2022 16:34:18 +0000 Subject: [PATCH 1/2] fixing login issue --- splinterlandsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splinterlandsPage.js b/splinterlandsPage.js index 873d794..bb888ca 100644 --- a/splinterlandsPage.js +++ b/splinterlandsPage.js @@ -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)) From 9e28549420a05d80e154a2d7010c537230d31b13 Mon Sep 17 00:00:00 2001 From: alfficcadenti Date: Sat, 8 Jan 2022 16:34:44 +0000 Subject: [PATCH 2/2] version bumped --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 28f63a5..b1e9433 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "splinterlands-bot", - "version": "1.8.3", + "version": "1.8.4", "description": "", "main": "main.js", "engines": {