{"id":19260,"date":"2018-03-15T03:09:46","date_gmt":"2018-03-15T03:09:46","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=19260"},"modified":"2025-03-18T15:46:55","modified_gmt":"2025-03-18T15:46:55","slug":"how-to-download-google-chrome-driver","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-download-google-chrome-driver\/","title":{"rendered":"How to download Google Chrome Driver?"},"content":{"rendered":"<h1>How to download Google Chrome Driver?<\/h1>\n<p>In this tutorial, we will learn the steps involved to download Google Chrome Driver for Selenium web automation. We need to download the compatible Google Chrome driver for the Chrome version that is used for Web application testing.<\/p>\n<h2>Steps to Download<\/h2>\n<p>Navigate to the following URL:<\/p>\n<ul>\n<li><strong>https:\/\/chromedriver.chromium.org\/<\/strong><\/li>\n<\/ul>\n<p>Pick the suitable version of the driver. By default choose the latest version. If you do so, update the Google Chrome browser that is used for testing.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19264\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver.png\" alt=\"Google Chrome Driver\" width=\"1762\" height=\"931\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver.png 1762w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver-300x159.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver-1024x541.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver-768x406.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Google-Chrome-Driver-1536x812.png 1536w\" sizes=\"auto, (max-width: 1762px) 100vw, 1762px\" \/><\/p>\n<p>Pick the OS and download the driver.<\/p>\n<p>For Windows 64-bit version:<\/p>\n<p>Pick the Stable Channel.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-27127\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows.png\" alt=\"Chrome Driver 64bit Windows\" width=\"1914\" height=\"955\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows.png 1914w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows-300x150.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows-1024x511.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows-768x383.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ChromeDriver-64bit-Windows-1536x766.png 1536w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Download the file: <strong>chromedriver-win64.zip<\/strong><\/p>\n<p>Extract the zip archive and copy the <strong>chromedriver.exe<\/strong> into your automation project folder.<\/p>\n<p>In the automation setup, we may need to specify the location of the driver.<\/p>\n<p>&nbsp;<\/p>\n<pre>System.setProperty(\"webdriver.chrome.driver\", \r\n\"&lt;path_to_driver&gt;\/chromedriver.exe\");<\/pre>\n<h3><\/h3>\n<h2>Common Errors<\/h2>\n<p>If the driver is old, you would encounter the following error and the tests would be skipped.<\/p>\n<pre>org.openqa.selenium.SessionNotCreatedException: session not created:\r\n This version of ChromeDriver only supports Chrome version 87\r\nCurrent browser version is 89.0.4389.90 with binary path \r\nC:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\r\nBuild info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'<\/pre>\n<h3><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>How to download Google Chrome Driver? In this tutorial, we will learn the steps involved to download Google Chrome Driver for Selenium web automation. We need to download the compatible Google Chrome driver for the Chrome version that is used for Web application testing. Steps to Download Navigate to the following URL: https:\/\/chromedriver.chromium.org\/ Pick the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[214],"class_list":["post-19260","post","type-post","status-publish","format-standard","hentry","category-selenium","tag-selenium","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/19260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=19260"}],"version-history":[{"count":14,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/19260\/revisions"}],"predecessor-version":[{"id":27132,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/19260\/revisions\/27132"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=19260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=19260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=19260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}