codesidian / Python-MissionChiefBot

A Python bot for the online game MissionChief
Other
13 stars 14 forks source link

Fail to log in #65

Closed Torilius closed 1 year ago

Torilius commented 1 year ago

name: Torilius about: fails to login user with correct details from config.ini title: 'Fails to log in' labels: issue assignees: codesidian, jackbayliss


Describe the bug Fails to log in after opening the missionchief.com/signin page.

Upload your debug.log file Nothng in debug.log

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Python-MissionChiefBot-master'
  2. Open 'run.bat'

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Connecting to the region: United States

logging in Traceback (most recent call last): File "C:\Users\MYNAME\Desktop\Freebot\Python-MissionChiefBot-master\botfiles\missionchief_bot.py", line 505, in begin() File "C:\Users\MYNAME\Desktop\Freebot\Python-MissionChiefBot-master\botfiles\missionchief_bot.py", line 501, in begin MissonChiefBot() File "C:\Users\MYNAME\Desktop\Freebot\Python-MissionChiefBot-master\botfiles\missionchief_bot.py", line 49, in init logged_in = login(username,password,browser) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MYNAME\Desktop\Freebot\Python-MissionChiefBot-master\botfiles\missionchief_bot.py", line 397, in login user = browser.find_element_by_id('user_email') ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Really just want to be able to clear the transports. as well as complete the tiny calls. Speed is not an issue.

jackbayliss commented 1 year ago

@Torilius Code base is not updated, it's due to the following deprecation

You'll need to update the code.