Tags » WebDriver

Taking ScreenShot Using Selenium WebDriver..!!

Here is the script to take the screenshot of the screen using Selenium webdriver..

Lets Automate it now.. :D

import java.io.File;
import java.io.IOException;
import org.openqa.selenium.By;

97 more words
Selenium Automation

Eavesdropping into WebDriver

 We all know that WebDriver already gives us a mechanism so that we can eavesdrop into WebDriver originated events. The way you get this done is by making use of… 999 more words

Webdriver

Gmail & IFrames with Selenium WebDriver & Java

There were (or are) a lot of opinions that testers from OUTSIDE of Google shouldn’t test their products – and they are right : D In 100% I agree with them. 311 more words

#Java

How to open a new tab in the same browser by using Selenium Webdriver

Code to open new tab through Selenium Code is as follows –

public WebDriver driver;

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get(“http://thebuddhatree.com”);
driver.findElement(By.cssSelector(“tag1″)).sendKeys(Keys.CONTROL +”t”);
ArrayList<String> tabs = new ArrayList<String> (driver.getWindowHandles()); 10 more words

Selenium WebDriver

Steps to get Safari Webdriver running on Mac OSX

Since this topic has not been well documented on the net and I struggled myself to get Selenium tests running on Safari browser, here are the complete set of steps to get Selenium tests up and running on Safari browsers. 381 more words

Toolbox

Python / WebDriver / Drag & Drop

Few times I was asked which code should be implemented in a test if user interface using drag&drop functionality. Please see how that works.

from selenium import webdriver
# see below, this is what are you looking for. 40 more words
Python

Getting WebTable Content from WebPage in Selenium WebDriver...!!

WebTable..??  In a Html code, the content written in tag <Table> </Table> called as webtable. <Table> tag contains <td> and <tr>. <tr> is table row and <td> is table data.. 269 more words

Selenium Automation