[
https://issues.apache.org/jira/browse/PLUTO-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neil Griffin updated PLUTO-730:
-------------------------------
Description:
Under certain circumstances such as a very fast CPU or a large display size,
Selenium throws a WebDriverException similar to the following:
{noformat}
Exception: org.openqa.selenium.WebDriverException: unknown error: Element
<input
type="submit"
value="V3HeaderPortletTests_SPEC15_Header_parameters6" name="inputval"
id="V3HeaderPortletTests_SPEC15_Header_parameters6-clickme">
is not clickable at point (866, 930). Other element would receive
the click: <html>...</html>
{noformat}
The workaround is to put the following Java code just before web driver button
clicks:
{code:java}
JavascriptExecutor javascriptExecutor = (JavascriptExecutor) driver;
javascriptExecutor.executeScript("window.scrollTo(0,
(arguments[0].getBoundingClientRect().top + window.pageYOffset) -
(window.innerHeight / 2));", webElement);
{code}
was:
Under certain circumstances such as a very fast CPU or a large display size,
Selenium throws a WebDriverException similar to the following:
{noformat}
Exception: org.openqa.selenium.WebDriverException: unknown error: Element
<input
type="submit"
value="V3HeaderPortletTests_SPEC15_Header_parameters6" name="inputval"
id="V3HeaderPortletTests_SPEC15_Header_parameters6-clickme">
is not clickable at point (866, 930). Other element would receive the click:
<html>...</html>
{noformat}
The workaround is to put the following Java code just before web driver button
clicks:
{code:java}
JavascriptExecutor javascriptExecutor = (JavascriptExecutor) driver;
javascriptExecutor.executeScript("window.scrollTo(0,
(arguments[0].getBoundingClientRect().top + window.pageYOffset) -
(window.innerHeight / 2));", wel);
{code}
> Selenium WebDriverException thrown by TCKSimpleTestDriver
> ---------------------------------------------------------
>
> Key: PLUTO-730
> URL: https://issues.apache.org/jira/browse/PLUTO-730
> Project: Pluto
> Issue Type: Bug
> Components: tck
> Affects Versions: 3.0.0, 3.0.1
> Reporter: Neil Griffin
> Assignee: Neil Griffin
> Priority: Major
> Fix For: 3.0.2
>
>
> Under certain circumstances such as a very fast CPU or a large display size,
> Selenium throws a WebDriverException similar to the following:
> {noformat}
> Exception: org.openqa.selenium.WebDriverException: unknown error: Element
> <input
> type="submit"
> value="V3HeaderPortletTests_SPEC15_Header_parameters6" name="inputval"
> id="V3HeaderPortletTests_SPEC15_Header_parameters6-clickme">
> is not clickable at point (866, 930). Other element would receive
> the click: <html>...</html>
> {noformat}
> The workaround is to put the following Java code just before web driver
> button clicks:
> {code:java}
> JavascriptExecutor javascriptExecutor = (JavascriptExecutor) driver;
> javascriptExecutor.executeScript("window.scrollTo(0,
> (arguments[0].getBoundingClientRect().top + window.pageYOffset) -
> (window.innerHeight / 2));", webElement);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)