[arquillian-issues] [JBoss JIRA] (ARQGRA-500) Navigation with URL parameters

Vsevolod Golovanov (JIRA) issues at jboss.org
Thu Mar 30 07:04:00 EDT 2017


    [ https://issues.jboss.org/browse/ARQGRA-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13386499#comment-13386499 ] 

Vsevolod Golovanov commented on ARQGRA-500:
-------------------------------------------

An example implementation of the LocationParameterProvider approach via overriding Graphene's LocationDecider is at http://stackoverflow.com/a/43115879/1341535

Now the interface seems weird to me. Maybe annotations would be more in line here with other Graphene stuff. \@LocationParameters on a field (outjection at navigation time) or a method (callback).

> Navigation with URL parameters
> ------------------------------
>
>                 Key: ARQGRA-500
>                 URL: https://issues.jboss.org/browse/ARQGRA-500
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>            Reporter: Vsevolod Golovanov
>
> I need to add a dynamic URL parameter to a location of a page before navigating to it.
> I don't want to use Selenium's navigation, because I would then need to reinvent/shoehorn Graphene's location deciding.
> A special landing page would be a pretty ugly workaround.
> I get that it's not possible with annotations. But at least support this with Graphene.goTo methods.
> Actually it may be possible with annotations, if you could supply some provider class? E.g. {{\@Location(value = "MyView.xhtml", parameterProvider = MyParameterProvider.class)}}.



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


More information about the arquillian-issues mailing list