REST API and its Component

Web services cater the need of distributed processing, especially by allowing communication between two electronic devices over a network. Basically, there are two types of web services: Soap web services – Simple object access Restful web services – REST based web services Rest is not a tool, technology, framework or specification. It is an architectural Read more…

SHARE THIS

Multiple Ways to Scroll a Page Using Selenium WebDriver

There are a number of ways to scroll a page using Selenium WebDriver in Java. Some of them are discussed below. If you want to scroll the page vertically to perform some action, you can do it using the following JavaScript.         ((JavascriptExecutor) driver).executeScript(“window.scrollTo(0, document.body.scrollHeight)”);             Where ‘JavascriptExecutor’ is an interface, which helps executing JavaScript Read more…

SHARE THIS