[arquillian-issues] [JBoss JIRA] Commented: (ARQAJO-28) Support addCustomRequestHeader(String, String) for AjaxSelenium

Karel Piwko (JIRA) jira-events at lists.jboss.org
Thu Feb 24 05:07:13 EST 2011


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

Karel Piwko commented on ARQAJO-28:
-----------------------------------

It would be great to have both generic header adder and encodeCredentials method  as well. I'll dit on that.

> Support addCustomRequestHeader(String,String) for AjaxSelenium
> --------------------------------------------------------------
>
>                 Key: ARQAJO-28
>                 URL: https://issues.jboss.org/browse/ARQAJO-28
>             Project: Arquillian Ajocado
>          Issue Type: Feature Request
>    Affects Versions: 1.0.0.Alpha1
>            Reporter: Karel Piwko
>            Assignee: Karel Piwko
>             Fix For: 1.0.0.Alpha2
>
>
> AjaxSelenium is not able to add a custom request header to request. 
> DefaultSelenium functionality allows you to modify all out coming requests by adding a header(it can't be removed though). This is need for testing things like HTTP Basic Authorization.
> e.g.
> <code>browser.addCustomRequestHeader("Authorization", "Basic " + encodeCredentials("user", "password"));</code>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list