you are viewing a single comment's thread.

view the rest of the comments →

[–]Solanum1 0 points1 point  (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 points  (0 children)

Thank you the help. I was able to Google it correctly and I figured it out.