[arquillian-issues] [JBoss JIRA] (ARQGRA-494) Enrich WebElements returned by JavascriptExecutor (to protect against staleness etc)

Vsevolod Golovanov (JIRA) issues at jboss.org
Mon Jan 16 10:51:00 EST 2017


     [ https://issues.jboss.org/browse/ARQGRA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vsevolod Golovanov updated ARQGRA-494:
--------------------------------------
    Description: 
ARQGRA-252 took care of elements found by manually calling SearchContext#findElement*, but there is still org.openqa.selenium.JavascriptExecutor:
{code}
jsExecutor.executeScript("return $('*').toArray();");
{code}
This would return unproxified WebElement instances.

  was:
ARQGRA-252 took care of elements found by manually calling SearchContext#findElement*, but there is still org.openqa.selenium.JavascriptExecutor:
{code}
jsExecutor.executeScript("return $('*').toArray();");
{code}
would return unproxified WebElement instances.



> Enrich WebElements returned by JavascriptExecutor (to protect against staleness etc)
> ------------------------------------------------------------------------------------
>
>                 Key: ARQGRA-494
>                 URL: https://issues.jboss.org/browse/ARQGRA-494
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.1.0.Final
>            Reporter: Vsevolod Golovanov
>
> ARQGRA-252 took care of elements found by manually calling SearchContext#findElement*, but there is still org.openqa.selenium.JavascriptExecutor:
> {code}
> jsExecutor.executeScript("return $('*').toArray();");
> {code}
> This would return unproxified WebElement instances.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the arquillian-issues mailing list