Demo entry 6352846

SearchButtonByld

   

Submitted by anonymous on Mar 27, 2017 at 06:40
Language: Java. Code size: 328 Bytes.

public class SearchButtonById {
 
        public static void main(String[] args){
 
            WebDriver driver = new FirefoxDriver();
 
            driver.get("http://www.forexample.com");
 
            WebElement searchBox = driver.findElement(By.id("gbqfba"));
 
            searchBox.click();
 
    	}
 
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).