{"id":455043,"date":"2025-04-07T15:01:59","date_gmt":"2025-04-07T15:01:59","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=455043"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=455043","title":{"rendered":"<span>How to: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 chromedriver \u0440\u0443\u043a\u0430\u043c\u0438<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c, \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c ChromeDriver \u0431\u0435\u0437 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 chromedriver (\u0438\u043b\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430. \u0418\u043b\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438\u00a0\u043c\u044b \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 UI-\u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u043e \u0442\u043e\u043c:<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0 \u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 chromedriver<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044f chromedriver \u0438 chrome (\u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u043a \u043b\u044e\u0431\u043e\u043c\u0443 \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443 \u0438 \u0435\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0443)<\/p>\n<p>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e chromedriver &#8212; <a href=\"https:\/\/googlechromelabs.github.io\/chrome-for-testing\/#stable\">https:\/\/googlechromelabs.github.io\/chrome-for-testing\/#stable<\/a><\/p>\n<p>\u041d\u0430\u00a0<strong>Linux<\/strong><\/p>\n<ol>\n<li>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/usr\/bin<\/p>\n<\/li>\n<li>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e chromedriver<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/138\/938\/9a4\/1389389a4f0f456ae7a84235df45d2d0.png\" width=\"940\" height=\"273\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/138\/938\/9a4\/1389389a4f0f456ae7a84235df45d2d0.png\"\/><\/figure>\n<\/li>\n<\/ol>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"288\" width=\"288\">\n<p align=\"left\">sudo rm chromedriver  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \/usr\/bin \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u043e\u0432\u044b\u0439 chromedriver<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">sudo mv Downloads\/chromedriver-linux64\/chromedriver \/usr\/bin\/  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041d\u0430\u00a0<strong>Windows<\/strong><\/p>\n<ol>\n<li>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c chromedriver \u0432 \u0436\u0435\u043b\u0430\u0435\u043c\u0443\u044e \u043f\u0430\u043f\u043a\u0443<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u043d\u0435\u0439:<\/p>\n<\/li>\n<\/ol>\n<h3>Step #4: Add ChromeDriver to System Path (Windows)\u00a0<\/h3>\n<ul>\n<li>\n<p>Right-click your desktop\u2019s \u201cThis PC\u201d or \u201cMy Computer\u201d icon.<\/p>\n<\/li>\n<li>\n<p>Select \u201c<strong>Properties<\/strong>\u201d from the context menu.<\/p>\n<\/li>\n<li>\n<p>Click on \u201c<strong>Advanced system settings<\/strong>\u201d on the left sidebar.<\/p>\n<\/li>\n<li>\n<p>In the System Properties window, click the \u201c<strong>Environment Variables<\/strong>\u201d button.<\/p>\n<\/li>\n<li>\n<p>In the \u201c<strong>System Variables\u201d<\/strong>\u00a0section, scroll down and find the\u00a0<strong>\u201cPath\u201d<\/strong>\u00a0variable**.**<\/p>\n<\/li>\n<li>\n<p><strong>Click<\/strong>\u00a0\u201c<strong>Edit<\/strong>\u201d or \u201cNew\u201d to add a new entry.<\/p>\n<\/li>\n<li>\n<p>Enter the path to the folder where you saved the ChromeDriver executable file (e.g., C:\\path\\to\\chromedriver).<\/p>\n<\/li>\n<li>\n<p>Click \u201c<strong>OK<\/strong>\u201d to save the changes.<\/p>\n<\/li>\n<\/ul>\n<h3>Step #5: Verify ChromeDriver Installation\u00a0<\/h3>\n<ul>\n<li>\n<p>Open a command prompt or terminal window.<\/p>\n<\/li>\n<li>\n<p>Type the following command and press Enter.<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">chromedriver &#8212;version  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0423\u0434\u0430\u0447\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432!  <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/898386\/\"> https:\/\/habr.com\/ru\/articles\/898386\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c, \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c ChromeDriver \u0431\u0435\u0437 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 chromedriver (\u0438\u043b\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430. \u0418\u043b\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438\u00a0\u043c\u044b \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 UI-\u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u043e \u0442\u043e\u043c:<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0 \u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 chromedriver<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0 \u041d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u044f chromedriver \u0438 chrome (\u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u043a \u043b\u044e\u0431\u043e\u043c\u0443 \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443 \u0438 \u0435\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0443)<\/p>\n<p>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e chromedriver &#8212; <a href=\"https:\/\/googlechromelabs.github.io\/chrome-for-testing\/#stable\">https:\/\/googlechromelabs.github.io\/chrome-for-testing\/#stable<\/a><\/p>\n<p>\u041d\u0430\u00a0<strong>Linux<\/strong><\/p>\n<ol>\n<li>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/usr\/bin<\/p>\n<\/li>\n<li>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e chromedriver<\/p>\n<figure class=\"full-width\"><\/figure>\n<\/li>\n<\/ol>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"288\" width=\"288\">\n<p align=\"left\">sudo rm chromedriver  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \/usr\/bin \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u043e\u0432\u044b\u0439 chromedriver<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">sudo mv Downloads\/chromedriver-linux64\/chromedriver \/usr\/bin\/  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041d\u0430\u00a0<strong>Windows<\/strong><\/p>\n<ol>\n<li>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c chromedriver \u0432 \u0436\u0435\u043b\u0430\u0435\u043c\u0443\u044e \u043f\u0430\u043f\u043a\u0443<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u043d\u0435\u0439:<\/p>\n<\/li>\n<\/ol>\n<h3>Step #4: Add ChromeDriver to System Path (Windows)\u00a0<\/h3>\n<ul>\n<li>\n<p>Right-click your desktop\u2019s \u201cThis PC\u201d or \u201cMy Computer\u201d icon.<\/p>\n<\/li>\n<li>\n<p>Select \u201c<strong>Properties<\/strong>\u201d from the context menu.<\/p>\n<\/li>\n<li>\n<p>Click on \u201c<strong>Advanced system settings<\/strong>\u201d on the left sidebar.<\/p>\n<\/li>\n<li>\n<p>In the System Properties window, click the \u201c<strong>Environment Variables<\/strong>\u201d button.<\/p>\n<\/li>\n<li>\n<p>In the \u201c<strong>System Variables\u201d<\/strong>\u00a0section, scroll down and find the\u00a0<strong>\u201cPath\u201d<\/strong>\u00a0variable**.**<\/p>\n<\/li>\n<li>\n<p><strong>Click<\/strong>\u00a0\u201c<strong>Edit<\/strong>\u201d or \u201cNew\u201d to add a new entry.<\/p>\n<\/li>\n<li>\n<p>Enter the path to the folder where you saved the ChromeDriver executable file (e.g., C:\\path\\to\\chromedriver).<\/p>\n<\/li>\n<li>\n<p>Click \u201c<strong>OK<\/strong>\u201d to save the changes.<\/p>\n<\/li>\n<\/ul>\n<h3>Step #5: Verify ChromeDriver Installation\u00a0<\/h3>\n<ul>\n<li>\n<p>Open a command prompt or terminal window.<\/p>\n<\/li>\n<li>\n<p>Type the following command and press Enter.<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">chromedriver &#8212;version  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0423\u0434\u0430\u0447\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432!  <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/898386\/\"> https:\/\/habr.com\/ru\/articles\/898386\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-455043","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/455043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=455043"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/455043\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=455043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=455043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=455043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}