Replacing the client library with your own code

Replacing the client library with your own code is probably is not the best idea to replace the client libraries with your code in real-time testing, because they handle all of the serialization and de-serialization while letting you concentrate on writing the test scripts for your application. But, let's do that to get a more clear understanding of what exactly our client libraries do and how they communicate with the drivers on the JSON wire protocol.

To do this, you need to download some JAR files, as shown in the following steps:

  1. The first one is the Apache HttpClient and the Apache Wink. The Apache HttpClient is used to send requests from a client to the server over HTTP. Apache Wink is used to ...

Get Selenium WebDriver Practical Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.