SimpleTest - Web Browser - Passing Authentication to the Client

I'm not sure if this is possible, but I thought it was a great place to ask a question.

I am using http://simpletest.org/en/browser_documentation.html PHP WebBrowser to test the wordpress site. What I am doing is setting credentials to access the wordpress server. I run a couple of tests, but my question is in some situations, when I want to transfer a session that "SimpleTest PHP Web Browser" works in the client browser. Aka ... my browser.

So, since I am transferring the session from the server-side validation browser to a regular client browser. This "client browser" is the same browser that literally runs the SimpleTest script to start with.

I am wondering if I can transfer the header and cookies associated with the "SimpleTest PHP Web Browser" to my browser. I am going to extract data from the PHP SimpleTest library and then install this information in a client browser using Javascript.

Is it possible? I feel that I lack a basic understanding of server-side authentication, which would make this impossible.

Any ideas? I'm really curious!

+3
source share
1 answer

Have you looked at the authentication documentation for SimpleTest?

+1
source

All Articles