-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Exception in redeem courses: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="email"]"} #409
Comments
Hey @ducdat-ptit, |
@cullzie I am having the same issue! I launch the CMD on the folder where I downloaded the source files of your udemy enroller and execute But the chrome window immediately shuts down! DevTools listening on ws://127.0.0.1:50748/devtools/browser/4bc533b4-f4d5-4a2b-bc14-a7924726f3eb Closing browser Note: my Windows 11 is in Italian so "Un dispositivo collegato al sistema non in funzione" means a connected device to the system doesn't work (don't know what device it is talking about honestly :D ). Any solution? Thank you! |
This is the full command. [WDM] - ====== WebDriver manager ====== DevTools listening on ws://127.0.0.1:50852/devtools/browser/074d87a3-eb2f-455f-8b5e-54cb8f30e0ce Closing browser D:\Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE-master>udemy_enroller --browser=chromium [WDM] - ====== WebDriver manager ====== DevTools listening on ws://127.0.0.1:50893/devtools/browser/07c02dd1-6e1a-46ac-a227-13f127bc057e D:\Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE-master>udemy_enroller --browser=google-chrome [WDM] - ====== WebDriver manager ====== DevTools listening on ws://127.0.0.1:55493/devtools/browser/b2423b9f-fe35-43e0-9bd3-3f8c26238c4a Closing browser |
@ducdat-ptit Thanks for the details. @ahmedfarrag17 I think this is the same issue you are experiencing: |
@cullzie when I execute Loading existing settings Any way to fix this? Thanks! |
Same issue. Any suggestions? |
@ahmedfarrag17 @frankShih I still am not having this issue so its very hard to debug it 😢 Perhaps there is some rate-limiting or something going on here but that is just speculation |
Ok I got the error and there was already a PR to fix this issue. (Thanks @Asunnya) |
Thanks 🙏🏽 |
@cullzie hi, I just want to make sure. Have you fixed the issue ? thank you |
@TriRizki @baseplate-admin |
@baseplate-admin I installed the latest version 4.1.3 and I still receive the same error! the browser window opens and in few seconds it closes automatically. `Loading existing settings [WDM] - ====== WebDriver manager ====== DevTools listening on ws://127.0.0.1:51612/devtools/browser/16aca066-69e7-4b08-b275-4e7c4a5c7132 Closing browser` |
Hi! The issue still persists with the newest version for me. Getting the same error:
Thanks! |
@ahmedfarrag17 Can you please try running with the CLI option? It is much more stable than browser version @nordflow I am not seeing this issue unfortunately. Are you running using a VPN? |
@cullzie I am receiving the same error as @nordflow ! I open CMD on the folder where I downloaded and installed the Udemy Enroller, and executed "udemy_enroller". the error it gives me is
If I run udemy_enroller --browser=chrome instead, I receive the error I just typed above. |
@ahmedfarrag17 Can you run |
@cullzie Where should the version show up? Looks the same for me:
However, I'm running from the newest source code. |
@nordflow It should be in the first few lines printed out to the console, before the lines you are seeing. |
Hi @cullzie, you were right! I thought I was running the script from my folder. But it was running the installed pip version which wasn't up to date. It is all working fine now. Thanks again! |
@cullzie I restarted the PC and re-installed the requirements and now it works!! (probably because the first time it asked me to update pip! so I think it is necessary to restart the PC after updating it, reinstall the requirements again, run and it works). but I noticed only udemy_enroller works! specifying the browser (udemy_enroller --browser=chrome) gives error! |
@cullzie thank you so much for your help! now it works!! |
@nordflow @ahmedfarrag17 Glad you are both back in business. Yes the browser version has been neglected for a while now since the CLI version is a lot more stable and less prone to changes. The browser version will likely be removed in future as all functionality is already available in the CLI version |
When I apply the command "udemy_enroller", the command returns the following error. Please tell me how to fix the below issue?
**
python udemy_enroller.py --browser chrome
Loading existing settings
[WDM] - ====== WebDriver manager ======
[WDM] - Current google-chrome version is 108.0.5359
[WDM] - Get LATEST chromedriver version for 108.0.5359 google-chrome
[WDM] - Driver [C:\Users\admin.wdm\drivers\chromedriver\win32\108.0.5359.71\chromedriver.exe] found in cache
DevTools listening on ws://127.0.0.1:64921/devtools/browser/ba65e4a7-f83f-4dde-99f5-d4de6aba1d16
Exception in redeem courses: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="email"]"}
(Session info: chrome=108.0.5359.96)
Closing browser
**
The text was updated successfully, but these errors were encountered: