Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Selenium WebDriver

Featured

Access all links simultaneously and checks whether links are working or not present within the Web page

Dear user, In the last blog, I wrote about how to access links using exact match and partial match in a web page through selenium web driver. Now in this blog, I will guide you about how to access all links present with-in the page are work...

Selenium Webdriver - Set browser width and height

Here, we discuss that how to resize the browser's width and height in Selenium WebDriver. It allows to resize and also maximize the window from its API. In this, Dimension Class helps to resize and declare the object by initializing the width...

Capture Screenshot in Selenium Webdriver

Here, we discuss that how to capture a screenshot in Selenium WebDriver.   Scenario to be automated:   Launch the web browser Open your application Take a screenshot Save the screenshot in a location   ...

Selenium WebDriver : Verify Visibility of Web Elements

WebDriver provides some methods through which user can verify the visibility of the web elements. These web elements can be buttons, drop boxes, checkboxes, radio buttons, labels etc.   isDisplayed() isSelected() isEnabled() ...

Difference between Selenium IDE, Selenium RC and WebDriver

Here, we discuss the difference between Selenium IDE, Selenium RC and WebDriver:     Feature Selenium IDE Selenium RC WebDriver Browser Compatibility It works as a Firefox plugin, s...

Selenium WebDriver Handling Drag and Drop functionality

In this blog, we discuss about handling the drag and drop functionality  in Selenium WebDriver. Scenario to be automated:   Launch the web browser Open your application (eg. "http://only-testing-blog.blogspot.in/201...

Selenium WebDriver Count Total number of Web Link and All Element on Webpage

Count Total number of Web Links and All Elements on Webpage:   In this blog, we discuss about how to get the total number of web links and all elements on webpage.   Steps to be automated:   Launch the web brow...

Handling Dropdown Elements in Selenium Webdriver

In this blog, we discuss about handling the drop down elements in Selenium WebDriver.   Scenario to be automated: Launch the web browser Open your application (eg. "http://www.findnerd.com") Click on 'Nerd Diges...

Conditional and Looping operations in Selenium Webdriver.

These are the Following methods in Selenium are used in conditional and looping operations:- isEnabled() method is used when you want to verify weather a certain element is enabled or not before executing a command. WebElement txtbox-us...

Selenium WebDriver Browser (Navigation) Commands:-

Navigation commands are used to navigate from one web page to another web page that we deal with. Below are some basic Navigation commands which are commonly used while writing the test scripts in Selenium. 1) Navigate To Command - "naviga...

Selenium WebDriver Browser (Get) Commands:-

Selenium Webdriver is a automation testing tool which is used for testing the web applications. Opening and closing a browser is the very first test step in Selenium which a tester would like to do. The 'Commands' refers to what Selenium has to d...

How to handle or remove warning of security in chrome through Selenium WebDriver?

Below is the error while run in chrome. Use this code, it will always work System.setProperty("webdriver.chrome.driver", YourChromePath); DesiredCapabilities capabilities = DesiredCapabilities.chrome(); ChromeOptions op...

Selenium Webdriver Syntax for Selecting a Value using selectByVisibleText method

Method Name: selectByVisibleText Syntax: select.selectByVisibleText(Text); Purpose: To Select the options based on text, matching with the argument given by user., it will try to match the VisibleText which will display in dropdown. The bel...

How to automate file download functionality through selenium webdriver?

File download functionality can be automated by setting the browser's preferences. We set the directory in which the file will be downloaded. FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "E:\\A...

How to handle drag and drop functionality through selenium webdriver ?

We use "Actions" class to handle drag and drop functionality. WebDriver driver = new FirefoxDriver(); driver.get("http://jqueryui.com/resources/demos/droppable/default.html"); driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS...

How to get the font size of any text on webpage?

We use .getCssValue(attribute) method to get the properties of any webelement. We can pass the following attributes: font-family font-size color line-height WebDriver driver = new FirefoxDriver(); driver.get("http://www.s...

Selenium Webdriver Syntax for Selecting a Value using selectByIndex method

Method Name: selectByIndex Syntax: select.selectByIndex(Index); **Purpose: To Select the option based on the index given by the user. There is an index for each attribute called "values" The below is the sample html code using index E...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: