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.
|
15 ani în urmă |
Aditya Ivaturi
|
61c58d7f37
comments added.
|
15 ani în urmă |
Aditya Ivaturi
|
3ea40ea630
some extra comments
|
15 ani în urmă |
Aditya Ivaturi
|
822b32686a
Started adding POD for the functional methods.
|
15 ani în urmă |
Aditya Ivaturi
|
e7022f0833
Stopped using String::TT as it has lot of dependencies & in our case all it does is simple substitutions anyway.
|
15 ani în urmă |
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.
|
15 ani în urmă |
Aditya Ivaturi
|
3ae0e2fe10
few more commands implemented
|
15 ani în urmă |
Aditya Ivaturi
|
dc0650fdbf
A proper error hash is now returned which includes a friendly error message & the stack trace returned from the server.
|
15 ani în urmă |
Aditya Ivaturi
|
f50ff673f9
get_params accepts a hash now, with:
|
15 ani în urmă |
Aditya Ivaturi
|
df1db14d19
Added _execute_command method to offload all the resource substitution & requests to the RC server.
|
15 ani în urmă |
Aditya Ivaturi
|
c071f9e33d
Merge branch 'master' of http://github.com/aivaturi/Selenium-Remote-Driver
|
15 ani în urmă |
Aditya Ivaturi
|
220c5686f3
cleaned up some commented code.
|
15 ani în urmă |
Aditya Ivaturi
|
7ccb623a28
Implemented a few more commands
|
15 ani în urmă |
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
|
15 ani în urmă |
Aditya Ivaturi
|
0e39ea1f77
Added extra note to notify that this is not ready for general use yet.
|
15 ani în urmă |
Aditya Ivaturi
|
c32225b229
|
15 ani în urmă |
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.
|
15 ani în urmă |
Aditya Ivaturi
|
ca1efb0f34
Changes include:
|
15 ani în urmă |
Aditya Ivaturi
|
6406864371
Initial commit for bindings
|
16 ani în urmă |