Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Click an icon on a browser
#2
1) you could try clicking on the actual <button> tag...and yes it will have a long class_name. I had one instance where i had to click on the deeper nested element. You might even want to try to click on the <span> tag embedded in the button even.
2) Is this piece of code contained in an iframe?
3) Do you have a timeout code set?
4) Is your code going to fast? Try a test delay between loading that portion of the page, and actually clicking the element. Sometimes the page hasnt even loaded yet before the search and click occurs.
Recommended Tutorials:
Reply


Messages In This Thread
Click an icon on a browser - by cheeks13 - Aug-09-2018, 12:52 PM
RE: Click an icon on a browser - by metulburr - Aug-09-2018, 12:54 PM
RE: Click an icon on a browser - by cheeks13 - Aug-09-2018, 01:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  webdriver.remote to connect back existing browser without open new browser? gahhon 6 6,778 Feb-26-2019, 03:53 PM
Last Post: gahhon
  Click in the (…) icon in youtube with selenium PyChrome AcszE 6 16,294 Oct-19-2017, 02:45 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020