I solved these kinds of problems using the webdrive manager.
You can automatically use the correct chromedriver by using the webdrive-manager. Install the webdrive-manager:
pip install webdriver-manager
Then use the driver in python as follows
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDriverManager().install())
This answer is taken from https://stackoverflow.com/a/52878725/10741023
Related Posts:
- SBOX_FATAL_MEMORY_EXCEEDED error shown when Chromedriver turned 1800-1900 pages using Selenium
- Running Selenium with Headless Chrome Webdriver
- When and how to use switchTo() method in webDriver (Selenium 2) to handle window/pop up
- selenium – chromedriver executable needs to be in PATH
- Wait for page load in Selenium
- How to get locator of current web element?
- How to select a drop-down menu value with Selenium using Python?
- How to use XPath preceding-sibling correctly
- When running WebDriver with Chrome browser, getting message, “Only local connections are allowed” even though browser launches properly
- Scroll Element into View with Selenium
- Call a Class From another class
- How to open a new tab using Selenium WebDriver in Java?
- Selenium Webdriver: Element Not Visible Exception
- Chrome Error: You are using an unsupported command-line flag: –ignore-certifcate-errors. Stability and security will suffer
- Is there a way to get element by XPath using JavaScript in Selenium WebDriver?
- ElementClickInterceptedException: element click intercepted:
- Test if element is present using Selenium WebDriver?
- Disable developer mode extensions pop up in Chrome
- Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
- Python- Robot Framework Rebot Using List
- How to re-enable right click so that I can inspect HTML elements in Chrome?
- How to fix ‘Unchecked runtime.lastError: The message port closed before a response was received’ chrome issue?
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site? [closed]
- Chrome not Firefox are not dumping to SSLKEYLOGFILE variable
- What is a user agent stylesheet?
- No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS
- What is a user agent stylesheet?
- Jupyter Notebook not saving: ‘_xsrf’ argument missing from post
- Hide scroll bar, but while still being able to scroll
- NET::ERR_CERT_REVOKED in Chrome, when the certificate is not actually revoked
- Google Chrome forcing download of “f.txt” file
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- Chrome sendrequest error: TypeError: Converting circular structure to JSON
- Jupyter Notebook not saving: ‘_xsrf’ argument missing from post
- Cannot open local file – Chrome: Not allowed to load local resource
- Failed to load PDF document in Chrome
- Cannot open local file – Chrome: Not allowed to load local resource
- What does ==$0 (double equals dollar zero) mean in Chrome Developer Tools?
- Getting Error “Form submission canceled because the form is not connected”
- “CAUTION: provisional headers are shown” in Chrome debugger
- What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]
- ERR_INVALID_HTTP_RESPONSE using Angular 7 and ASP.Net Core 2.2 in Google Chrome browser
- SyntaxError: Unexpected Identifier in Chrome’s Javascript console
- stale element reference: element is not attached to the page document
- Chrome give error **Failed to load resource: net::ERR_NAME_NOT_RESOLVED** while other browser load images
- Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser
- Selenium using Python – Geckodriver executable needs to be in PATH
- Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING error
- How can I quickly retrieve a value from a MapIterator returned from Object.keys function?
- Easiest way to alter eBay page content/DOM
- Disable same origin policy in Chrome
- Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)
- Wait until page is loaded with Selenium WebDriver for Python
- Uncaught SyntaxError: Unexpected token :
- Paused in debugger in chrome?
- Duplicate headers received from server
- Apps, Extensions and scripts cannot be added from this website
- How to use jQuery in chrome extension?
- Disable Chrome strict MIME type checking
- getElementsByAttribute() is not a function
- Chrome/jQuery Uncaught RangeError: Maximum call stack size exceeded
- Uncaught Reference Error: stLight is not defined (in Chrome only)
- eclipse for chrome?
- NoClassDefFoundError in Java: com/google/common/base/Function
- Responsive media query not working in Google Chrome
- Why I get “ERR_RESPONSE_HEADERS_TOO_BIG” on chrome?
- Video auto play is not working in Safari and Chrome desktop browser
- “Uncaught TypeError: a.indexOf is not a function” error when opening new foundation project
- How to force JavaScript to deep copy a string?
- Google Chrome Ignoring Hosts File
- Chrome Broweser: csi.gstatic.com keeps loading
- Where to find extensions installed folder for Google Chrome on Mac?
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- Difference between Chrome Apps and Extensions
- Copying HTML code in Google Chrome’s inspect element
- Chrome’s fonts are too light to read
- “Uncaught TypeError: Illegal invocation” in Chrome
- Divi Child Theme Breaks WordPress Customizer
- Chrome Version 44.0.2403.89 m is trying to force HTTPS
- Admin sidebar items overlapping in admin panel
- WordPress website loads but is not displayed until page scrolled
- How to fix samesite attribute in wordpress for chrome errors?
- Why does chrome keep downloading a file instead of running the site?
- Chrome 83 doesn’t connect WP login page after update from http to https on localhost
- Google Tag Manger – no-script Code Not Found
- I just got my domain vsmathur.co.in verified by Google Domains, but cannot access my WordPress site, Help! [closed]
- Header’s CSS doesn’t work in Chrome and Opera – any ideas how to fix it?
- How to have an external DB read and get data from my wordpress database
- Tinymce.js editor in Chrome?
- How can I fix buggy WordPress dashboard [duplicate]
- How can I say if a URL is a post, page, or taxonomy archive?
- Loading issue on Chrome for my WordPress theme
- Chrome Dev Tools console says every page in my blog has link to http://maps.google.com [closed]
- White blank page when Updating/Draft/Publishing Page/Post
- checkout stripe with plugin contact form
- wordpress favicon not working properly on all browsers
- In-page link works in Firefox but not in Chrome
- TinyMce Chrome newline issue
- Cannot find webarh/malware redirect infection that only shows on Chrome
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]