Selenium is not working
I'am very new to Python and want to try this https://youtu.be/f7LEWxX4AVI?t=328 at 5.28 I saw that you can open Youtube trough python - selenium and try this but it does not work for me. I can not found a Chrome webdriver and have searched a lot but it's not working. Can you guys give me some direction/guidance?
Thanks in advance
Hello, I have not used selenium before, but I have used webbot which is basically the same as selenium:
Click here to create a pygame repl. We are using a pygame repl because repl.it has put in a display there for us.
Then, you can code freely with webbot! Here's an example:
from webbot import Browser web = Browser() web.go_to('google.com')
Hope this helps!
Yeah, I had the same problem as well. I think it's because repl is hosting a virtual environment instead of a local one therefore it cannot access the actual web browser your local machine supports
Idk, but yeah, if you're wanting to do anything with that type of module plan on getting an IDE because as of what it looks like, repl cannot support that type of Python library.
@targetfanttthat Oh.... hope that there's some workaround because i have a ide and installed pip and selenium but there's it's not working because I get this message ModuleNotFoundError: No module named 'selenium' and I have watched video's on Youtube for more then 3-4 hours with out finding a solution that works for me. Thank you for your reply.
Here is some things I found:
This supports python versions 2.7 and 3.4(I don't know what version of Python you have installed): https://pypi.org/project/selenium/
Here is a video I found for installing it on Windows 10: https://youtu.be/gVXcVcTRXd0
Also, it depends on what browser you have.
Selenium only supports: Chrome, Firefox, Edge and Safari.