Closed allquixotic closed 9 years ago
I ended up having to alter the script to add a few delays between inputs. Not sure if this is the root of the issue, but it did solve it for me.
function seLogin () {
hound
.type('#email', config.email)
.wait()
.type('#password', config.password)
.wait()
.click('#submit-button')
.....
note: I also changed the selectors. #se-login is now #se-login-form if you prefer to use the attribute selectors... but the inputs have id's so why not use them.
https://github.com/allquixotic/SO-ChatBot/commit/88d9eacdb446f20d0cd85a9fd58ca6654954b73f works for me. You guys can pull to Zirak master if you wish, but I've already pushed this to my fork.
I maintain the chatbot John Cavil in Root Access. For some time (I'm not sure how long; maybe a couple weeks?), the driver I wrote to start the chatbot in PhantomJS using Selenium/Java has not worked.
Thinking that maybe you guys hit a similar problem and fixed it, I then tried your
run-headless.js
script. I did edit the script to configure it for our room, but the bot never even shows up in our room.My specs:
npm
summon
command,welcome
is manual only, etc.) - here; diffs hereQuestions:
Console output, which looks suspicious but I'm not sure what exactly is wrong:
In master.js: