Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible issue with Chromedriver 78, Selenium can not find web element of embeded PDF opened in Chrome #7725

Closed
MilosRadovic304 opened this issue Oct 30, 2019 · 2 comments

Comments

@MilosRadovic304
Copy link

Until my google Chrome wasn't updated to version 78 my test automation scripts worked fine. So I am not able anymore to find WebElement with id='plugin' in PDF opened in browser using Selenium WebDriver and Java:

<html>
<div id="content">
<embed id="plugin" type="application/x-google-chrome-pdf" src="http://??????????/offer_printed.php?printable=yes&amp;reanudar=&amp;>
</div>
</html>

Java selenium code:

WebDriverWait wait = new WebDriverWait (driver, 90);
WebElement scrollvalid = wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("plugin")));

scrollvalid.sendKeys(Keys.PAGE_DOWN);                       
scrollvalid.sendKeys(Keys.PAGE_DOWN);

Error:
org.openqa.selenium.TimeoutException: Timed out after 90 seconds waiting for visibility of element located by By.id: plugin

After I deleted Google Chrome version 78 and installed version 76 my automation tests are working again. Everything works perfectly. I hope that this issue with version 78 will be fixed.

Thank you!

@barancev
Copy link
Member

Please report this issue to chromedriver project
https://chromedriver.chromium.org/help

@lock
Copy link

lock bot commented Nov 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Nov 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants