Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1848

Cannot Find Element On Browser With Selenium

by Planet - 04 May, 2021 - 10:51 AM
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.535
Posts
829
Threads
4 Years of service
#1
Basically I need to click a box in a webpage on other pages I can click elements etc but on that page I tried with Id, Class, Xpath but still can't manage to make selenium click it any suggestions on what's going on?
This post is by a banned member (Credits) - Unhide
Credits  
Registered
22
Posts
14
Threads
3 Years of service
#2
Maybe there is another element overlapping it. What website are you trying to do it on?
 
This post is by a banned member (ggfdev) - Unhide
This post is by a banned member (Blepop) - Unhide
Blepop  
Galactic
4.050
Posts
2.148
Threads
5 Years of service
#4
(04 May, 2021 - 10:51 AM)Planet Wrote: Show More
Basically I need to click a box in a webpage on other pages I can click elements etc but on that page I tried with Id, Class, Xpath but still can't manage to make selenium click it any suggestions on what's going on?

make it load first 
or
it could be inside an iframe (so move to that iframe first then try to select that element)
mostly card details kinda stuffs are put inside iframe

send the website and send the screenshot of the problem
[Image: S6IAC.gif]
Ad by firewizard 

Join for Daily Bulk Drops 
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.535
Posts
829
Threads
4 Years of service
#5
(24 May, 2021 - 04:26 AM)Blepop Wrote: Show More
(04 May, 2021 - 10:51 AM)Planet Wrote: Show More
Basically I need to click a box in a webpage on other pages I can click elements etc but on that page I tried with Id, Class, Xpath but still can't manage to make selenium click it any suggestions on what's going on?

make it load first 
or
it could be inside an iframe (so move to that iframe first then try to select that element)
mostly card details kinda stuffs are put inside iframe

send the website and send the screenshot of the problem

https://redeem.apple.com/msh-it-online? @Blepop the button on the center to get the code
This post is by a banned member (Blepop) - Unhide
Blepop  
Galactic
4.050
Posts
2.148
Threads
5 Years of service
#6
(24 May, 2021 - 10:31 PM)Planet Wrote: Show More
(24 May, 2021 - 04:26 AM)Blepop Wrote: Show More
(04 May, 2021 - 10:51 AM)Planet Wrote: Show More
Basically I need to click a box in a webpage on other pages I can click elements etc but on that page I tried with Id, Class, Xpath but still can't manage to make selenium click it any suggestions on what's going on?

make it load first 
or
it could be inside an iframe (so move to that iframe first then try to select that element)
mostly card details kinda stuffs are put inside iframe

send the website and send the screenshot of the problem

https://redeem.apple.com/msh-it-online? @Blepop the button on the center to get the code

use this xpath    //div[@Class='cta-button'][contains(.,'Redeem Now')]

make sure to let it load first
its clickable for me
[Image: S6IAC.gif]
Ad by firewizard 

Join for Daily Bulk Drops 

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)