Closed JJ34D closed 1 year ago
You're using the wrong version of the web driver.
Try selenium 3.14.1 and also ensure you're using the appropriate chrome version for whatever you have downloaded on your PC
Also maybe try to pull updated project if you haven't done that in awhile?
You must have downloaded the GitHub release, you need to clone the latest instead. (for some reason the "release" uses find_element_by_name
which no longer exists)
You must have downloaded the GitHub release, you need to clone the latest instead. (for some reason the "release" uses
find_element_by_name
which no longer exists)
can you please tell how do i clone the latest release
here you go: go to requirements.txt replace selenium with selenium==3.14.1 then do "pip uninstall -r requirements.txt" after everything uninstalls then do "pip install -r requirements.txt"
Fixed with v3.0 #188
Traceback (most recent call last): File "C:\Users\User\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\ms_rewards_farmer.py", line 773, in
login(browser, account['username'], account['password'])
File "C:\Users\User\Downloads\Microsoft-Rewards-Farmer-master\Microsoft-Rewards-Farmer-master\ms_rewards_farmer.py", line 46, in login
browser.find_element_by_name("loginfmt").send_keys(email)
AttributeError: 'WebDriver' object has no attribute 'find_element_by_name'