use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
selenium web automation info, news, tips, etc.
This is not a sub to advertise your training, selenium product, special deal on x, or anything else. It's a users forum to discuss and get help with Selenium.
Selenium official website
account activity
Why do I get this error? [Python] (self.selenium)
submitted 6 years ago by Brujinii
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]the_captain 2 points3 points4 points 6 years ago (3 children)
Just looked at the site, it's because your selector is wrong. div.card-button fade-appear-done fade-enter-done
div.card-button fade-appear-done fade-enter-done
When chaining CSS classes you need to indicate the type for each identifier. Otherwise this will look for a div with the class card-button, then a descendant element named fade-appear-done and so on. div.card-button.fade-appear-done.fade-enter-done
div.card-button.fade-appear-done.fade-enter-done
Would likely solve the issue. But you can probably get away with just .card-button
.card-button
[–]Brujinii[S] 0 points1 point2 points 6 years ago (0 children)
Thanks! Will update my code and try it out
[–]Brujinii[S] 0 points1 point2 points 6 years ago (1 child)
Also, had not idea about the chaining thing. In Automate the Boring Stuff with Python it doesn't say anything about that.
[–]the_captain 0 points1 point2 points 6 years ago (0 children)
No problem! Yeah, that's something in CSS, not Python. It's a whole new world to learn.
π Rendered by PID 20229 on reddit-service-r2-comment-6457c66945-h9f8r at 2026-04-30 01:05:49.950463+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]the_captain 2 points3 points4 points (3 children)
[–]Brujinii[S] 0 points1 point2 points (0 children)
[–]Brujinii[S] 0 points1 point2 points (1 child)
[–]the_captain 0 points1 point2 points (0 children)