Комментарии:
I would note that many modern websites including Google use random class names in their HTML which are dynamically generated. This could be an anti-scraping measure, or it could be the result of the framework used (I believe Angular does this). So that specific class name you are using in the example will probably not work by the time anyone reads this. As a better alternative, you can find an element with CSS or Xpath for more reliable results. To use CSS, change the code to find_element(By.CSS_SELECTOR
ОтветитьTim, how do i navigate the problem where I run the code and it prompts me with the cookies reject or accept, google sign in page? If i try to login in the program instance google tells me it is not a supported platform, and if I login from my actual chrome browser it doesnt change anything? should I add code that scrolls down and presses the accept or reject button, or is there a way to completely bypass the popup window?
ОтветитьAttributeError: 'WebDriver' object has no attribute 'get_element'
why?
Hi, Tim. Wouldn't be easier to use webdriver_manager library where it gets the last version of the driver to match the browser you have installed? because everytime you have a version upload you have to download it and retest this?
ОтветитьMore selenium tutorial please, keep up the great content
ОтветитьThis was very helpful. Thank you very much.
ОтветитьWoah, i wanted that! thanks
ОтветитьDUDE I NEEDED THIS AND YOU JUS UPLOADED IT XD
ОтветитьThank you for your videos! I love them.
When I make a comment adding information based on my experience, it's always suppressed.
What is the reason?
For instance here I commented about a Python module helping with drivers installation.
tim whats your vs code settings for syntax colors I've tried some methods but none of them was working for example (ctrl + K + T) can you make a video about that or if you already have one tag me please
Ответитьgreat!!, thanks for the tutorial just what i needed
ОтветитьDoes selenium still need us to install the drivers, i thought its now installed with the selenium 4.10
ОтветитьYou should do an updated selenium series 🔥 would love that, some automation testing for things like SDET or QA
ОтветитьSelenium = fun with Tim 🎉
Ответитьwow thats so cool. i can use that.
ОтветитьCool
ОтветитьThanks! I enjoyed learning Selenium. ALTHOUGH, can someone help with my issue? I did exactly what Tim instructed on one computer (ran perfectly), but after sending myself the code to do the same on another computer, I ran into an issue where Selenium states in the terminal that it's "unable to locate or obtain driver for chrome". The driver is the .exe and it's in the same folder.
I'm currently trying to figure it out on this second computer but if someone has any tips, I'd appreciate it.
You go way too fast for this 65-year-old brain, but I understand, a slower pace would be boring for young programmers. But for the first time, I have a handle about the concepts of web scraping. You are using the Selenium Python library to bot web surfing. Too cool!
ОтветитьGreat one, this is what i'm looking for, Automation, web scraping, bots, pytho automation, Qa automation.. Thank you so much. You are amazing.
ОтветитьI feel nostalgic, I remember watching your selenium series a few years ago
ОтветитьIt doesn't work for me :( , after launching the browser I see info about accepting or rejecting cookies and I can't get to the search element .Error > selenium.common.exceptions.ElementNotInteractableException: message: element not interactable
ОтветитьYou are a genius 🔥
Your effort is remarkable ❤
This is excellent, love everything about this!
Ответитьi get paid a lot of money doing this
ОтветитьLove your tutorials. I use xpath quite often when trying to find what to click on. In chrome, when you right click and inspect an element, it brings up the page source. Then if you right click the item that you are looking for, you can copy the xpath and paste it in your program as well.
Ответитьthanks, wanted to do this yesterday and kinda messed it up. (the old videos to selenium and the new driver) now everything works fine <3
ОтветитьYou are the BEST
ОтветитьOne question still remains: how to upload Selenium to a remote server and run it? For me, it's #1 reason why I try to avoid using Selenium.
ОтветитьThank you so much for this.
Ответитьgreat content!
ОтветитьThanks Tim bro😊😊😊
ОтветитьWhich vs code theme do u use?
ОтветитьThanks for sharing 🙏
ОтветитьWonderful project❤
Ответитьfree palestine
if you not pin me you are not a human
TQ for the wonderful content ❤❤❤❤
ОтветитьBro pin me. Plzz
Ответить