
| Key: |
SRC-482
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Eric Z. Ayers
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
selenium-rc-safari-test4.jar (7 kb)
|
|
Environment:
|
Problem occurs when launching Safari using the string '*safari' on mac os X (10.4 and another user in the forum reports 10.5 too)
|
|
|
I wrote a small program to reproduce the problem:
$ java -cp ./selenium-rc-safari-test4.jar:./selenium-java-client-driver.jar com.example.seleniumrc.SafariTest myserver.mydomain.net
[Faux Server] Waiting for a new connection on port: 18892
Loop: 0
[Faux Server] Connection: 1 Looking for HTTP command.
[Faux Server] Connection: 1 : GET /foo.html HTTP/1.1
Sending response to HTTP request
Loop: 1
[Faux Server] Connection: 2 Looking for HTTP command.
[Faux Server] Connection: 2 : POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1
Sending response to HTTP request
[Faux Server] Connection: 2 Got unexpected request for: POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1
|
|
Description
|
I wrote a small program to reproduce the problem:
$ java -cp ./selenium-rc-safari-test4.jar:./selenium-java-client-driver.jar com.example.seleniumrc.SafariTest myserver.mydomain.net
[Faux Server] Waiting for a new connection on port: 18892
Loop: 0
[Faux Server] Connection: 1 Looking for HTTP command.
[Faux Server] Connection: 1 : GET /foo.html HTTP/1.1
Sending response to HTTP request
Loop: 1
[Faux Server] Connection: 2 Looking for HTTP command.
[Faux Server] Connection: 2 : POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1
Sending response to HTTP request
[Faux Server] Connection: 2 Got unexpected request for: POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1
|
Show » |
|
It mocks up a web server in the same process and serves up a dummy web page for every request. If any request comes in that doesn't recognize, it writes the request to stderr.
$ java -cp ./selenium-rc-safari-test4.jar:./GWT/tools/lib/selenium/selenium-java-client-driver.jar com.example.seleniumrc.SafariTest mymachine.mydomain.net
[Faux Server] Waiting for a new connection on port: 18892
Loop: 0
[Faux Server] Connection: 1 Looking for HTTP command.
[Faux Server] Connection: 1 : GET /foo.html HTTP/1.1
Sending response to HTTP request
Loop: 1
[Faux Server] Connection: 2 Looking for HTTP command.
[Faux Server] Connection: 2 : POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1
Sending response to HTTP request
[Faux Server] Connection: 2 Got unexpected request for: POST /selenium-server/driver/?retry=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_92855&sessionId=2f013e8db3b046388d96bf779fc223c4&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1212175452616&sequenceNumber=50 HTTP/1.1