[Python] Passthrough is not supported, GL is swiftshader, ANGLE is

Discussão em 'Python' iniciado por Stack, Outubro 5, 2024.

  1. Stack

    Stack Membro Participativo

    When trying to run headless chrome with selenium I am getting this error:

    [1021/151706.155:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is

    my setup code:

    from selenium import webdriver
    import chromedriver_binary

    chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument("--headless")
    chrome_options.add_argument("--disable-gpu")
    chrome_options.add_argument("window-size=1024,768")
    chrome_options.add_argument("--no-sandbox")

    driver = webdriver.Chrome(options=chrome_options)


    driver version is 94.0.4606.61 win32

    Continue reading...

Compartilhe esta Página