Check box has different xpath for Chrome (Version 81.0.4044.138) and Firefox (76.0.1 (64-bit)), It works for one at a time | Selenium Forum
K
Kam Posted on 16/05/2020

XPATH for CHROME:

checkbox_xpath = //*[@id="signupform"]/div/div[6]/div[2]/label/span

XPATH FOR MOZILLA:

checkbox_xpath = //*[@id="signupform"]/div/div[6]/div[2]/label/input

 

I use OR option and is NOT working

 

HTML:

 

 


A
Ashish Thakur Replied on 18/05/2020

Can we access the url


K
Kam Replied on 19/05/2020

 it is zoho.com . then go to free signup

also has same issue when go to login and enter email

 


A
Ashish Thakur Replied on 21/05/2020

Well in this case you can try 2 things. FIrstly write logic to manage different xpaths in different browsers

Secondly you can try to have the common xpath and try.. In this case - //*[@id="signupform"]/div/div[6]/div[2]/label/


Related Posts