Selenium Webdriver Tutorials

driver.get in Selenium WebDriver

After successfully running several automation scripts now we are stepping towards grasping the essential ‘Get’ commands in Selenium. We will precisely and briefly discuss each of these Selenium commands so as to make you capable of using them effectively whenever required. Thus we are going to discuss about various driver.get in Selenium WebDriver that we would be using in our day to day automation testing. driver.get in Selenium WebDriver are used to collect various information about the page that we deal with. Here are some important “get” commands you must be familiar with,

Selenium Webdriver Tutorials

Keyboard and Mouse Actions in Selenium Webdriver

What are the common ways you interact with an application? Yeah! The keyboard and mouse. Almost everything we perform in an application is via keyboard or a mouse – click, double-click, type, drag, mouse hover, right-click, etc. So here comes an obvious question for automation testing – How do you replicate (or automate) keyboard and mouse actions in Selenium Webdriver? As you might have guessed, every automation tool provides a way to script keyboard and mouse events. Selenium Webdriver provides an Advanced User Interaction API (including Actions class) which facilitate user actions to be performed in an application, i.e. users can use this API to simulate keyboard and mouse actions in Selenium Webdriver.

Selenium Webdriver Tutorials

How to handle frames in Selenium Webdriver

Occasionally you will encounter the below error when trying to locate an element. One of the reason might be that the element is present within a frame. And when writing a test against them, you can easily get tripped if you’re not paying attention. You cannot directly identify an element present in an iFrame. First we have to switch to the frame and then we can identify the elements present using normal Selenium locators. In this article let’s see how to handle frames in Selenium Webdriver.


Exception in thread “main” org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {“method”:”id”,”selector”:”tinymce”}

Interview Questions & Answers Selenium Webdriver Tutorials

Write a Java program | 5 commonly asked java-program in Selenium interview

As soon as you write Selenium Java in your resume, interviewer is bound to give you a sheet of paper & ask write a Java program. Though Selenium doesn’t require extensive Java knowledge but still there is a set of basic Java programs that you should be able to write on-the-spot. This article covers five of the most popular Write a Java program questions frequently asked in the technical interview. The questions are easy, but don’t forget to mark these java-program in your to do list before attending any technical interview for Selenium automation testing.