How to find XPath/CSS selector in chrome and evaluate it with example

Finding XPath or CSS selector is very crucial task for selenium webdriver test script preparation and so google chrome has made it very easy for all and specially selenium users. There are many different chrome extensions available which provides this feature. But Google chrome’s inbuilt Chrome Devtool is very easy to use. It has many … Read more

What is get method in selenium?

WebDriver interface has many different methods and get method is one of them. WebDriver interface is implemented by different browser classes like ChromeDriver, EdgeDriver, EventFiringWebDriver, FirefoxDriver, InternetExplorerDriver, OperaDriver, RemoteWebDriver and SafariDriver. So you can use get method to open any of these browser with given URL syntax. get Method Method Name : get Method description : … Read more

Selenium Tutorial : The path to the driver executable must be set by the webdriver.gecko.driver system property

Since last update of selenium 3, Most of the users(especially those who are new with selenium) are facing common issue with error “Exception in thread “main” java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases” when … Read more

LinkedHashMap Class In Java

LinkedHashMap class is one of the class of map interface which extends HashMap class and implements Map interface. It is combination of linked list and Hash table implementation of the Map interface and that’s why it is called LinkedHashMap. It is maintaining doubly-linked list insertion order in which keys were inserted into the map. It allows to store null elements and … Read more