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

How to Generate Google Ads Keywords Using Python

  How to Generate Google Ads Keywords Using Python By  Chris Kendall Paid Search ,  SEM Management I generated over a million unique Google Ads keywords — using just a few lines of code. If you want to learn how to save time generating keywords and building campaigns: programming is the answer. More specifically, the language Python. I’m going to show you how I used Python to increase my productivity and lighten my workload. If you are intimidated by the word “programming”, I’m here to change your mind — and show you why you should start using Python to streamline your digital marketing process today! Use Python to Generate Keywords for Google Ads Campaigns Let’s take a look at how to generate keywords for search campaigns. Python has many different applications for e-commerce (including data analysis), but for now we’re only going to cover two examples of how to generate Google Ads keywords: one beginner and one advanced. Generating Unlimited Exact Match and Broad Match ...

Day 1 learning Google Cybersecurity at Coursera

This is my study notes. just for my personal notes and learn.  Program Overview - Core security concepts - Security domains - Network Security - Computing basics - Assets, threats, and vulnerability - Incident detection and response - Python - Find and apply for jobs By completing the eight courses in this certificate program,  you'll prepare for entry-level jobs in cybersecurity ,  such as cybersecurity analyst, security analyst,  and security operations center (SOC) analyst.  No prior experience in cybersecurity is required to complete this program. Throughout the program, you will have multiple opportunities to develop your cybersecurity knowledge and skills . You will explore concepts and scenarios to learn what an entry-level cybersecurity analyst must know and be able to do to thrive in the cybersecurity profession .  Google Cybersecurity Certificate courses The Google Cybersecurity Certificate has eight courses that focus and build upon core concepts...