79192851

Date: 2024-11-15 14:55:05
Score: 1
Natty:
Report link

I found the main part of the answer here: force selenium manager to download browser in python

This means if you force the selenium manager to download the same version of the browser that is already installed - it will download CfT by default. The magic can be done by setting environment variables:

import os
os.environ["SE_FORCE_BROWSER_DOWNLOAD"] = "true"
os.environ["SE_CACHE_PATH"] = "~/.cache"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: aik.fiend