1

Every time I am running a script, the "Get adobe Flash Player" icon is being displayed, I already installed Adobe but anyway this icon is displayed and I cannot continue, I tried with xpath but is not working, could you give me an idea how to solve this please? I tried these 2 ways but none is working:

driver.findElement(By.xpath("//img[@alt='Get Adobe Flash player'")).click();

driver.findElement(By.xpath("//img[@src='http://www.adobe.com/…/download_buttons/get_flash_player.gif'")).click();

Thank you

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
  • Inspecting the icon shows this: Get Adobe Flash player –  Jun 10 '18 at 08:07
  • could you add relevant html – Prany Jun 10 '18 at 08:31
  • 2
    Do you really need to click the icon? Or do you need to avoid even apearing the icon? Depending on the used browser, try to manualy create a new browser profile and use it for your tests. See https://stackoverflow.com/questions/50562675/selenium-chromedriver-open-chrome-normally/50568965#50568965. With existing browser profile, you need to install AFP just once, to the new profile. – pburgr Jun 11 '18 at 06:04
  • 1
    If you have `installed Adobe but this icon is still displayed` you may require to add the settings in your _Browser Profile_ – undetected Selenium Jun 11 '18 at 07:46
  • No no, if it weren't there it would be great, I just want to continue and display the login page. –  Jun 11 '18 at 16:00
  • See https://sqa.stackexchange.com/questions/30312/enable-flash-player-on-chrome-62-while-running-selenium-test – JeffC Jun 13 '18 at 14:17

0 Answers0