SELENIUM BASICS:

  • What is Automation Testing - Advantages & Types of Tools
  • What is Selenium IDE, Selenium RC, Selenium WebDriver, Selenium Grid?
  • Selenium IDE, Firebug & Firepath Installation

  • SELENIUM WEBDRIVER:

  • Selenium WebDriver Architecture
  • Selenium Installation
  • Challenges and Limitations of Selenium
  • First Selenium WebDriver Script
  • Working with Firefox Browser
  • Solution - Failed To Launch Browser Using Selenium WebDriver
  • Working with Chrome Browser
  • Working with IE Browser
  • Difference Between FindElement & FindElements
  • Install Firebug, Fire path and other add on for Selenium
  • Locators in Selenium
  • Dynamic Xpath
  • Dynamic CSS
  • Handle drop-downs
  • How to work with file upload
  • Handle Alerts & Popups
  • Handle Multiple Windows
  • Mouse Hover event in Selenium
  • Right Click
  • Double Click
  • Drag and Drop
  • Capture Screenshots in Selenium
  • Parameterization
  • Synchronization
  • Implicit Wait, Explicit Wait and Fluent Wait in Selenium
  • Implicit Waits
  • Explicit WebDriver Waits
  • Fluent Wait In Selenium
  • Apache POI
  • How To Read Data From Excel File
  • How To Write Data In Excel File
  • Database Testing Using MSSQL
  • Database Testing Using MySQL
  • Database Testing Using DB2
  • Handle Ajax Call in Selenium
  • Listeners in Selenium
  • Handling JavaScript in Selenium
  • Stale Element Reference Exception in Selenium
  • Integrate Sikuli with Selenium
  • Headless Browser Testing 
  • Headless Browser Testing using HtmlUnitDriver
  • Headless Browser Testing using PhanthomJSDriver

  • TESTNG:

  • TestNG Installation
  • TestNG Complete Tutorial

  • REPORTS:

  • Extent Reports Introduction
  • Extent Reports Generation
  • Capturing Screenshots & Including In Extent Reports
  • Extent Reports Version 4

  • BUILD & CONTINUOUS INTEGRATION TOOLS:

  • ANT Build Tool - How To Download & Install
  • Maven Build Tool - How To Download & Install
  • Creating Maven Selenium Project
  • GIT Integration with Selenium
  • Jenkins - How To Download & Install
  • Jenkins - Executing TestNG Scripts
  • Jenkins - Generating Reports After Test Execution
  • Jenkins - Executing Maven Project
  • Create build and Execute build for nightly execution
  • Send Email report based on build Status
  • Selenium Continuous Integration with Jenkins [Selenium – Maven – Git – Jenkins] – Step By Step Guide

  • CROSS BROWSER TESTING:

  • Running Selenium Tests On BrowserStack
  • Kobiton - Mobile Testing Platform with Real Devices

  • MOBILE TESTING:

  • Mobile Testing Platform with Real Devices

  • AUTOMATION FRAMEWORKS:

  • What is Framework & Types of Framework
  • Page Object Model Design Pattern
  • Data Driven Framework
  • How to explain Test Automation Framework or Selenium Automation Framework Architecture In Interview

  • API Testing:

  • Learn API Testing
  • Postman Tutorial (API Testing with Postman)

  • INTERVIEW QUESTIONS:

  • Test Automation Framework Interview Questions
  • Selenium Interview Questions
  • TestNG Interview Questions
  • Java Interview Questions
  • Python Interview Questions
  • API Testing Interview Questions

  • SAMPLE RESUME:

  • Automation Tester Resume
  • How to Run Selenium WebDriver Script in Chrome browser

    Executing Selenium WebDriver Script in Chrome Browser:

    Here in this post, we see how to run Selenium WebDriver Script in Chrome Browser. Moving forward, we need to have Chromedriver.exe and Selenium WebDriver.

    Assuming that you have already Installed Selenium WebDriver.

    If you want to install Selenium WebDriver, click on the link below to install Selenium WebDriver in few clicks.

    How To Download And Install Selenium WebDriver

    Each and every browser has its own Driver to execute Selenium WebDriver Scripts. Selenium WebDriver supports browsers such as Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari etc.,

    Here we are going to see how to run Selenium WebDriver Script in Chrome Browser.

    What is ChromeDriver and What it does?

    ChromeDriver is a separate executable that WebDriver uses to control Chrome. This executable starts a server on local system to run the Selenium WebDriver Test Scripts.

    Also find,


    Steps to run Selenium WebDriver Script in Chrome Browser 

    Step 1: Download ChormeDriver.exe

    Click here to download Chrome driver

    Download the latest release of Chrome driver which is compatible to your test environment. Unzip the downloaded compressed file and keep it somewhere on a known location on your system.

    Step 2: Executing the Test Script in Chrome Browser

    Find the sample script (using Java) mentioned below to run test script in Chrome browser. Execute it to run the test in Chrome browser which will first open chrome browser and then open the appropriate URL mentioned in the script

    Quick note:

    To launch Chrome Browser, we have to do as mentioned below:

    1. Set a system property “webdriver.chrome.driver” to the path of executable file “Chromedriver.exe“. If you miss this, you will face an error “The path to the driver executable must be set by the webdriver.chrome.driver system property“.

    2. Instantiate a ChromeDriver class

    Selenium Webdriver Script in Chrome Browser

    Get our latest blog posts delivered to your inbox

    Subscribe and get popular blog posts about software testing industry.

    Rajkumar

    4 thoughts on “How to Run Selenium WebDriver Script in Chrome browser”

    1. Hi

      For selenium3.6, how will i execute script using gecko driver on chrome and IE?
      I’ve used for gecko driver for Firefox and successfully running on FF browser but coming to IE and Chrome i couldn’t able to execute using geckodriver.
      If possible can you please share the code for to execute code in IE and Chrome browser.

      Regards
      Shilpa

    Leave a Comment

    Share via
    Copy link
    Powered by Social Snap