[
https://issues.jboss.org/browse/ARQGRA-67?page=com.atlassian.jira.plugin....
]
Jan Papousek commented on ARQGRA-67:
------------------------------------
So, I've tried to implement the request guards and there are updates needed:
# proposed xhrInterception.js has to be updated to save Graphene object and its state to
global variable (I've chosen Document.Graphene)
[[1|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/javascript/Graphene.xhrInterception.js]]
# DefaultExecutionResolver should be replaced by resolver using page extensions (resolver
only delegates installation to page extension process)
[[2|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/java/org/jboss/arquillian/graphene/page/extension/PageExtensionJavaScriptExecutionResolver.java]]
# GrapheneProxy should be refactored to provide public interface (not only package
friendly) and support interceptors
[[3|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/java/org/jboss/arquillian/graphene/context/GrapheneProxyHandler.java]][[4|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/java/org/jboss/arquillian/graphene/context/GrapheneProxyInstance.java]][[5|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/java/org/jboss/arquillian/graphene/context/Interceptor.java]][[6|https://github.com/papousek/arquillian-graphene/blob/ARQGRA-71/graphene-webdriver/graphene-webdriver-impl/src/main/java/org/jboss/arquillian/graphene/context/InvocationContext.java]],
it should be also considered to put classes managing proxies to separate package
Migrate request guards to Selenium 2
------------------------------------
Key: ARQGRA-67
URL:
https://issues.jboss.org/browse/ARQGRA-67
Project: Arquillian Graphene
Issue Type: Feature Request
Components: core
Reporter: Lukáš Fryč
Assignee: Jan Papousek
Priority: Critical
Fix For: 2.0.0.Alpha2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira