Advertisement
gobees81

selenium_errors

Oct 9th, 2022
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.30 KB | None | 0 0
  1. Python 3.9.2 (default, Feb 28 2021, 17:03:44)
  2. [GCC 10.2.1 20210110] on linux
  3. Type "help", "copyright", "credits" or "license()" for more information.
  4. >>>
  5. ======== RESTART: /home/dad/Documents/my_scripts/selenium_first_test.py ========
  6. Traceback (most recent call last):
  7.   File "/home/dad/Documents/my_scripts/selenium_first_test.py", line 6, in <module>
  8.     driver= webdriver.Chrome(service=Service(ChromeDriverManager().install()))
  9.   File "/home/dad/.local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
  10.     super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  11.   File "/home/dad/.local/lib/python3.9/site-packages/selenium/webdriver/chromium/webdriver.py", line 89, in __init__
  12.     self.service.start()
  13.   File "/home/dad/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 71, in start
  14.     self.process = subprocess.Popen(cmd, env=self.env,
  15.   File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
  16.     self._execute_child(args, executable, preexec_fn, close_fds,
  17.   File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
  18.     raise child_exception_type(errno_num, err_msg, err_filename)
  19. OSError: [Errno 8] Exec format error: '/home/dad/.wdm/drivers/chromedriver/linux64/106.0.5249/chromedriver'
  20. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement