Tag Archives: (Passthrough is not supported

[Solved] Python Selenium Chromedriver Error: (Passthrough is not supported, GL is disabled)

This article mainly introduces the solution of using selenium and webdriver_manager to crawl websites in Python, and the error: ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled or Passthrough is not supported, GL is swiftshader.

Error message :Passthrough is not supported, GL is swiftshader

Solution:

The error message Passthrough is not supported, GL is swiftshadermay be the error message displayed after Chromedriver version 89.

When using chromedriver, you generally need to specify --headlessand --disable-gpuparameters, and the browser window may not be displayed. If you do not use these two options, no error message will appear.

You can also use the --disable-software-rasterizerparameter to disable it WebGL, and no error message will be displayed in the mode that does not display the window.

Error message :Passthrough is not supported, GL is disabled)

Solution : If the above method cannot -enable-webgl --no-sandbox --disable-dev-shm-usagebe solved , you can also try to solve it with parameters.