ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

I have tried to open in google chrome .but it displaying only local are allowed #1019

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class chrome {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        System.setProperty("webdriver.chrome.driver","d:\\chromedriver.exe");
        WebDriver driver= new ChromeDriver();
        driver.get("www.gmail.com");
        driver.close();
            }
    }
i can able to open google drive but it not fetch the required webpage ..Help me 
.. is there any way

Original issue reported on code.google.com by raghaven...@gmail.com on 16 Jan 2015 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 16 Jan 2015 at 8:35

GoogleCodeExporter commented 9 years ago
do you see the chrome  browser pop up?

Original comment by andrewch...@chromium.org on 16 Jan 2015 at 8:36

GoogleCodeExporter commented 9 years ago
    driver.get("www.gmail.com");  -- not correct
should be 
      driver.get("http://www.gmail.com");
let me know if you satisfy the result so that we can close the ticket.

Original comment by andrewch...@chromium.org on 16 Jan 2015 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 9 Mar 2015 at 10:06