title: how to avoid google search detect selenium webdriver as unusual behaviour?
body: <p>I try to use <strong>selenium webdriver</strong> to do one <strong>search by image</strong> in google so my user didn't need to manually open the browser and paste image url there. but google say </p>
  
  <blockquote>
    <p>Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot.</p>
  </blockquote>
  
  <p>And give captcha, <strong>is there a way to avoid being detected as automation by google using selenium webdriver</strong>?</p>
  
  <p>here my code:</p>
  
  <pre><code>@Before
  public void setUp() throws Exception {
      driver = new FirefoxDriver();
      baseUrl = "http://images.google.com/searchbyimage?image_url=";
      driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
  }
  
  @Test
  public void test2() throws Exception {
      driver.get(baseUrl + "http://somesite.com/somepicture.jpg");
      driver.findElement(By.linkText("sometext"));
  
      System.out.println("finish");
  
  }
  
  @After
  public void tearDown() throws Exception {
      driver.quit();
      String verificationErrorString = verificationErrors.toString();
      if (!"".equals(verificationErrorString)) {
          fail(verificationErrorString);
      }
  }
  </code></pre>