Selenium Relative Locators or Friendly Locators

     As we know that the Selenium 4.x came out along with a lot of new features and functionalities. In this article, I would like to share Selenium 4's feature known as Relative Locators (formerly known as Friendly Locators). Relative locators help locate WebElements based on the location relative to other DOM elements.  ... Continue Reading →

File download during headless automation

      In selenium headless automation, we had a scenario to download a file and verify the file content. We tried with chrome browser as headless for execution but failed to download the file into a respective path mentioned in the ChromeOptions via setExperimentalOption.       Finally, we derived a solution to download the... Continue Reading →

Different Driver Services in Selenium and Appium

           As we know that the importance of Automation is increasing day-by-day. And also most of them are looking for open source tools like Selenium and Appium. In 2017, there are some modification happened in Driver instantiation for Selenium Drivers and Appium Drivers. They are commonly using DriverServices to build and start the... Continue Reading →

Selenium for Electron Applications

     Electron allows for the development of desktop GUI applications using front and back end components originally developed for web applications: Node.js run-time for the back-end and Chromium for the front-end.     Electron uses HTML, JavaScript and CSS to build desktop applications. The vision of same codebase for web, mobile and desktop applications... Continue Reading →

Selenium Webdriver Instantiation in Selenium(3.7.x)

In latest selenium 3.7.x version, most of the drivers (Chrome, Firefox, IE, Safari) are deprecated; in the next release of selenium will remove those driver instantiation logic. Following are the new way of driver instantiation in selenium 3.7.x: For Internet Explorer: WebDriver driver; System.setProperty("webdriver.ie.driver", <path to IEDriverServer>); InternetExplorerDriverService ieservice= new InternetExplorerDriverService.Builder().build(); driver = new InternetExplorerDriver(ieservice); For... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: