Tags » WebDriver

How to verify an element is visible or not visible using selenium webdriver

public String checkElement(WebDriver driver,By by ){
if (driver.findElements(by).size() < 1){
System.out.println("Test is Passed");

return “Pass”;

}else {
System.out.println(“Test is failed”);
return “Fail”;

System.out.println(checkElement(driver, By.xpath("//button[@id='gbqfba']")));;

Handle Java warning popup in selenium webdriver

FirefoxProfile fProfile = new FirefoxProfile();

fProfile.setAcceptUntrustedCertificates( true );

fProfile.setPreference( "security.enable_java", true ); 

fProfile.setPreference( "plugin.state.java", 2 );

WebDriver driver = new FirefoxDriver( fProfile );

plugin.state.java = 0 never activate, 1 = ask to activate, 2 = always activate


sikuli selenium webdriver testng testing with eclipse in windows

- Download sikuli-setup.jar from


- Copy to a folder
– Double click on the jar file or run it from command prompt (make sure you have java installed 6/7), follow the instructions. 229 more words


Launching Safari browser through Selenium Webdriver on Windows

Had a tough time searching steps to launch Safari browser through Selenium Webdriver. So compiling the steps for easy use and access.

Some Information for starting: 156 more words

Python + WebDriver: Explicit vs Implicit Waits

Selenium Webdriver provides two types of waits – implicit & explicit. An explicit wait makes WebDriver to wait for a certain condition to occur before proceeding further with executions. 197 more words


How to hover any Element using Selenium Webdriver

In many applications, we may find a situation where we need to just hover any element and click to its sub-menu or sub-link associated with it. 138 more words


Browser applications testing using Selenium with Python


Selenium is a web application testing framework¬†that allows you to write tests in many programming languages like ¬†Java, C#, Groovy, … 872 more words