Aditya Ivaturi
|
dfc09ea822
Made changes to be compatible with the recent JSON wire protocol changes & streamlined how the response is processed & returned to the end user. From now on each method of Driver will always return a hash with cmd_status & cmd_return as keys which will tell whether the command executed OK or not (NOTOK). cmd_result will either contain the value returned from the server or the error explanation & stack trace if included.
|
há 15 anos atrás |
Aditya Ivaturi
|
61c58d7f37
comments added.
|
há 15 anos atrás |
Aditya Ivaturi
|
3ea40ea630
some extra comments
|
há 15 anos atrás |
Aditya Ivaturi
|
822b32686a
Started adding POD for the functional methods.
|
há 15 anos atrás |
Aditya Ivaturi
|
e7022f0833
Stopped using String::TT as it has lot of dependencies & in our case all it does is simple substitutions anyway.
|
há 15 anos atrás |
Aditya Ivaturi
|
2170221d0e
selenium-test-server.pl is going to simulate a Selenium 2.0 REST servie to aid in testing. It will support all the resources defined in JSON Wire protocol. Think of this an instance of a MockObject so that the remote bindings can be tested without the need for an actual Selenium 2.0 remote server. This script will start a server at port 4444.
|
há 15 anos atrás |
Aditya Ivaturi
|
3ae0e2fe10
few more commands implemented
|
há 15 anos atrás |
Aditya Ivaturi
|
dc0650fdbf
A proper error hash is now returned which includes a friendly error message & the stack trace returned from the server.
|
há 15 anos atrás |
Aditya Ivaturi
|
f50ff673f9
get_params accepts a hash now, with:
|
há 15 anos atrás |
Aditya Ivaturi
|
df1db14d19
Added _execute_command method to offload all the resource substitution & requests to the RC server.
|
há 15 anos atrás |
Aditya Ivaturi
|
c071f9e33d
Merge branch 'master' of http://github.com/aivaturi/Selenium-Remote-Driver
|
há 15 anos atrás |
Aditya Ivaturi
|
220c5686f3
cleaned up some commented code.
|
há 15 anos atrás |
Aditya Ivaturi
|
7ccb623a28
Implemented a few more commands
|
há 15 anos atrás |
Aditya Ivaturi
|
f6860c8457
For newSession, we need to return back the whole response value hash as it contains the sessionId information we need. For remaining commands, we can just send back the value hash alone
|
há 15 anos atrás |
Aditya Ivaturi
|
0e39ea1f77
Added extra note to notify that this is not ready for general use yet.
|
há 15 anos atrás |
Aditya Ivaturi
|
c32225b229
|
há 15 anos atrás |
Aditya Ivaturi
|
644d446f5a
- moved _get_command_result to RemoteConnection as it belongs there and the request operation is self contained. i.e. when a request method is called now, it'll process the data & return the appropriate result back.
|
há 15 anos atrás |
Aditya Ivaturi
|
ca1efb0f34
Changes include:
|
há 15 anos atrás |
Aditya Ivaturi
|
6406864371
Initial commit for bindings
|
há 16 anos atrás |