Install chromedriver Automatically while using Selenium in Python

pip install webdriver-manager
service = Service(executable_path=ChromeDriverManager().install())
chrome_options = webdriver.ChromeOptions()
chrome_options.add_experimental_option("useAutomationExtension", False)
chrome_options.add_experimental_option("excludeSwitches", ["enable-automation"])
# Add headless option
self.driver = webdriver.Chrome(options=chrome_options, service=service)


Disable QUIC in Chrome Browser

QUIC (Quick UDP Internet Connections) is a new transport protocol that is designed to improve the performance of web browsing. It is currently enabled by default in Chrome, but you can disable it if you want.

Here are the steps on how to disable QUIC in Chrome:


Disable both of them and once you have restarted Chrome, QUIC will be disabled.

Why You Might Want to Disable QUIC

There are a few reasons why you might want to disable QUIC.

  • Compatibility issues: Some websites may not work correctly with QUIC. If you are having problems with a particular website, you can try disabling QUIC to see if that fixes the problem.
  • Security concerns: Some people have expressed concerns about the security of QUIC. If you are concerned about the security of your browsing data, you may want to disable QUIC.
  • Performance: In some cases, disabling QUIC can actually improve performance. This is because QUIC is still a relatively new protocol and it is not yet as well-optimized as other protocols.

How to Enable QUIC Again

If you decide that you want to enable QUIC again, you can follow the same steps as above, but select the Enabled option instead of Disabled.