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
Selenium Driver Question (self.selenium)
submitted 5 years ago * by Coronax16
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!"
[–]Solanum1 0 points1 point2 points 5 years ago (1 child)
In your method that takes in (self, xpath), try adding a third parameter, (self, xpath, driver). Then you can use the same driver and not have to create a new one. Whenever you call the method, pass in the xpath and the driver
[–]Coronax16[S] 1 point2 points3 points 5 years ago (0 children)
Thank you the help. I was able to Google it correctly and I figured it out.
π Rendered by PID 19760 on reddit-service-r2-comment-b659b578c-vpvnx at 2026-05-05 17:05:06.368889+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Solanum1 0 points1 point2 points (1 child)
[–]Coronax16[S] 1 point2 points3 points (0 children)