Selenium findElement method

findElement() method in selenium findElement method is one of the most used method in selenium as it is used to fine element like textbox, button, link, dropdown, listbox on webpage. You need to perform actions on different web elements on page and findelement method helps you to find element by given locator strategy. findelement() is … Read more

Selenium get() method and navigate() method

Selenium get() method get() method in selenium is one from the many different methods available in webdriver interface. Selenium get() method is used to open URL in browser. get(String) -> It accepts string as a parameter and returns nothing. get() method is used to open URL in current loaded browser to load a new web … Read more

System setproperty in selenium

What is System.setProperty? If you have noticed in selenium test case, You will find syntax System.setProperty. System is class name and setProperty(String key, String value) is method of System class in java. setProperty method accepts two parameters key and its value. Why to use System.setProperty in selenium test case? For running your selenium test, You need browser i.e. chrome, firefox, … Read more

First selenium test case in eclipse

First selenium test case in eclipse You are ready to write your first selenium test case in eclipse after installation and selenium configuration in eclipse. In our first selenium test case, we will see below given points one by one. Launch the browser. Maximize the browser. Navigate to URL. Locate page elements. Perform actions on … Read more