Xpath not working in firefox but working fine in chrome

0 votes

Below is the xpath which works in firefox but not in chrome.

/html/body/app/div/compliance/div/main/reporting/div[1]/div[2]/download-button/iron-dropdown/div/div/button[2]
Jul 17, 2018 in Selenium by Martin
• 4,220 points
736 views

1 answer to this question.

0 votes

Try to search above xpath in chrome dev tools.

This might help

  //button[@attribute="specificAttributeValue"]
answered Jul 17, 2018 by Samarpit
• 5,130 points

Related Questions In Selenium

0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,090 points
971 views
+2 votes
4 answers

sendKeys() not working in Selenium Webdriver

this work for me you should update your ...READ MORE

answered Aug 27 in Selenium by Afif
12,363 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
597 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
903 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
587 views
0 votes
1 answer
0 votes
1 answer

Selenium grid 2 in chrome browser

The problem is in -Dwebdriver arguments. Maybe you should do ...READ MORE

answered Apr 27, 2018 in Selenium by Samarpit
• 5,130 points
249 views