Running Selenium WebDriver Script in Chrome Browser

  • Published on Mar 28, 2016
  • In this tutorial you will learn two ways to launch chrome browser and will also learn to run your script as well in chrome browser
    1- Directly copying the chromedriver at project root level
    2- By using system property method

Comments • 11

  • priyranjan
    priyranjan 7 months ago

    wow awesome plz provide another video

  • Sai Nivas
    Sai Nivas Year ago +1

    thank you so much sir

  • Jyoti Daryani
    Jyoti Daryani Year ago

    Thank you so much Sir! My issue got resolved.:)

  • kalyan Sai
    kalyan Sai 2 years ago

    Hi , actually I was trying to automate my office outlook, I am using xpath to locate webelemnts , for few clickable elements it was throwing could not locate the element , i have tried many ways

    NEERAJ KUMAR 2 years ago +1

    Thanks for the video.. :)

    RAFIA ZAHEER 2 years ago

    browser shows blank page.. why? please help me

    • Abodeqa
      Abodeqa  2 years ago

      Download the recent version of chromedriver.exe and also pick the recent version of selenium webdriver standalone jar.
      This will resolve your issue.
      For steps follow the tutorial.

  • VJ
    VJ 2 years ago

    I am not getting Import option...
    plz help me with dis.

  • Roma S
    Roma S 2 years ago +1

    How to install Selenium Webdriver for browser Chrome using Python?

    • Abodeqa
      Abodeqa  2 years ago

      Roma S. use it like this..@Test
      public void testGoogleSearch() {
      // Optional, if not specified, WebDriver will search your path for chromedriver.
      System.setProperty("", "/path/to/chromedriver");
      WebDriver driver = new ChromeDriver();
      Thread.sleep(5000); // Let the user actually see something!
      WebElement searchBox = driver.findElement("q"));
      Thread.sleep(5000); // Let the user actually see something!

  • ritika ritu
    ritika ritu 3 years ago +1

    thanks for uploading these videos.
    You are very good teacher