Код: Выделить всё
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
browser = webdriver.Chrome(options=options)
browser.get("https://github.com/aahan0511")
Он закрывается с этой ошибкой сразу после менее 1 секунды после его открытия.
Код: Выделить всё
DevTools listening on ws://127.0.0.1:55431/devtools/browser/c71d8c52-305b-4d0e-a1e9-ac9d162a6e58
[14964:5104:0104/182047.170:ERROR:sandbox_win.cc(791)] Sandbox cannot access executable. Check filesystem permissions are valid. See https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/design/sandbox.md#lpac-file-system-permissions.: Access is denied. (0x5)
[14964:18156:0104/182047.345:ERROR:network_service_instance_impl.cc(613)] Network service crashed, restarting service.
Подробнее здесь: https://stackoverflow.com/questions/793 ... executable