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.

Error:

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

How to check a Radio button with Selenium WebDriver
Selenium Tutorial for Beginners

How to Check a Radio button with Selenium WebDriver

Continuing on our Selenium Beginner’s series, let’s see How to Check a Radio button with Selenium WebDriver using Java. Hope you have already gone through the previous tutorials…

#4. Common Page elements & User actions to automate
#5. How to enter value in ‘Textbox’ using Selenium WebDriver
#6. How to click a Button in Selenium WebDriver using Java
#7. How to Mouse Hover an element in Selenium WebDriver
#8. How to Select value from Drop down list in Selenium WebDriver

Here we will try to check a radio button – the ‘Gender’ options on Facebook.com login page.

How to Select value from Drop down list in Selenium WebDriver
Selenium Tutorial for Beginners

How to Select value from Drop down list in Selenium WebDriver

Continuing on our Selenium Beginner’s series, let’s see How to Select value from drop down list in Selenium WebDriver using Java. Hope you have already gone through the previous tutorials…

#4. Common Page elements & User actions to automate
#5. How to enter value in ‘Textbox’ using Selenium WebDriver
#6. How to click a Button in Selenium WebDriver using Java
#7. How to Mouse Hover an element in Selenium WebDriver

Here we will try to select a drop-down value from the Birthday drop-down on Facebook.com login page.