Langsung ke konten utama

HOW TO FIX : ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled in VS Code Python Selenium ChromeDriver Pytest

HOW TO FIX : ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled in VS Code Python Selenium ChromeDriver Pytest

have you ever experienced an error like the one below when using pytest, python selenium chromedriver?

[14184:2436:0319/060520.198:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled, ANGLE is

[7108:12512:0319/060620.351:ERROR:device_event_log_impl.cc(214)] [06:06:20.350] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

[7108:12512:0319/060620.356:ERROR:device_event_log_impl.cc(214)] [06:06:20.356] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

[7108:12512:0319/060620.357:ERROR:device_event_log_impl.cc(214)] [06:06:20.357] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

[15940:15748:0319/060806.665:ERROR:device_event_log_impl.cc(214)] [06:08:06.664] USB: usb_service_win.cc:260 Failed to get device driver name: Element not found. (0x490)

[7108:12512:0319/060806.666:ERROR:device_event_log_impl.cc(214)] [06:08:06.666] USB: usb_service_win.cc:260 Failed to get device driver name: Element not found. (0x490)

the solution was to activate WebGL in Chrome browser. I did the following

  1. chrome://settings -> Click Advanced at the bottom -> Check the Use hardware acceleration when available box
  1. chrome://flags -> Search for WebGL in the search bar -> Enable / Activate WebGL

There are much better instructions here: https://superuser.com/questions/836832/how-can-i-enable-webgl-in-my-browser

Hope this solution fix your error. Thanks for reading.

If you found this post useful, Do share it with a friend or colleague and if you have thoughts, I’d be more than happy to chat over at twitter or comments. Until next time. Happy Testing and Coding.

Komentar

Postingan populer dari blog ini

0.0.0.0 Python Essentials - About the Curriculum

About the course curriculum PCAP: Programming Essentials in Python  (short form:  Python Essentials ) is a two-course series that covers all the basics of programming in Python, as well as general computer programming concepts and techniques, and the object-oriented approach. The Python Essentials course series is divided into two parts: Python Essentials 1 (PE1): BASICS , consisting of four modules; Python Essentials 2 (PE2): INTERMEDIATE , consisting of four modules. Each student has access to  hands-on practice materials ,  labs ,  quizzes , and  tests  to learn how to utilize the skills and knowledge gained on the course and interact with some  real-life programming tasks and situations . Students who complete the course will be able to accomplish coding tasks related to the basics of programming in the Python language, and to understand the fundamental notions and techniques used in object-oriented programming. Furthermore, they will be ready...

Python Essentials 1 - Module 1

  Python Essentials 1: Module 1 Introduction to Python and computer programming In this module, you will learn about: the fundamentals of computer programming, i.e., how the computer works, how the program is executed, how the programming language is defined and constructed; the difference between compilation and interpretation what Python is, how it is positioned among other programming languages, and what distinguishes the different versions of Python. How does a computer program work? This course aims to show you what the Python language is and what it is used for. Let's start from the absolute basics. A program makes a computer usable. Without a program, a computer, even the most powerful one, is nothing more than an object. Similarly, without a player, a piano is nothing more than a wooden box. Computers are able to perform very complex tasks, but this ability is not innate. A computer's nature is quite different. It can execute only extremely simple operations. For exampl...