JavaScript Object Notation (JSON) is used to represent objects with complex data structures. It is used primarily to transfer data between a server and a client on the web. It has very… read more →
RemoteWebDriver is an implementation class of the WebDriver interface that a test script developer can use to execute their test scripts via the RemoteWebDriver server on a remote machine. There are two parts to RemoteWebDriver: a server… read more →
The Page Objects pattern describes any web page in terms of a hierarchical Domain Specific Language (DSL). The application specific DSL helps to hide the page implementation; the test is no longer allowed to… read more →
The TakesScreenShot interface in the WebDriver library is implemented by all of the different variants of WebDriver, such as Firefox Driver, Internet Explorer Driver, Chrome Driver, and so on. The TakesScreenShot capability is enabled… read more →
Navigate feature of WebDriver allows the test script developer to work with the browser’s Back, Forward, and Refresh controls. The method that is used for this purpose is navigate(). The following is its… read more →
We do not need to open up an instance of Browser(firefox/chrome/IE) to execute our Selenium tests Having the tests run in a browser allows us to view the execution as it… read more →
HTMLUnitDriver. HTMLUnitDriver does not execute tests on browser but plain http request – response which is far quick than launching a browser and executing tests. Used to run some background… read more →
findElement() findElements() The findElement() method returns first matching WebElement object based on a specified search criteria. The findElements() method returns a list of WebElements matching the search criteria throw up NoSuchElementFoundException exception when they fail to find the desired element… read more →
Selenium RC Selenium Web driver Selenium RC, which was written purely in JavaScript for all the browser automation. The JavaScript, in Selenium RC, would then emulate user actions. This… read more →