title: Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Chrome through Selenium
body: <pre><code>from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  import time
  import pyautogui
  import requests
  import nltk   
  import urllib.request
  import random
  
  
  
  driver=webdriver.Chrome()
  driver.get('https://www.karsanj.net/login.php')
  userm=driver.find_element_by_id('username')
  userm.send_keys('gdbcfss')
  time.sleep(2)
  passwoord=driver.find_element_by_id('password')
  passwoord.send_keys('fbxeedf')
  time.sleep(2)
  sal =driver.find_element_by_id(&quot;salTahsili&quot;)
  sal.click()
  time.sleep(2)
  pyautogui.press('down')
  time.sleep(2)
  pyautogui.press('enter')
  time.sleep(2)
  login=driver.find_element_by_name('login')
  login.click()
  time.sleep(10)
  driver.get('https://www.karsanj.net/vschool_list.php')
  
  def goonline():
      urlsite=driver.current_url()
          
  def urlgetter(driver):
      time.sleep(7)
      try:
          onlineclass=driver.find_element_by_class_name('entrance-btn')
          onlineclass.click()
      except:
          print('no online classes in this time ')
      time.sleep(5)
      classon=driver.find_element_by_id('room_unique_url')
      classon.click()
      time.sleep(20)
      attend= driver.find_elements_by_class_name('tablet-beta-label')
      pyautogui.press('enter')
      time.sleep(15)
      try:
          pyautogui.click()
          close1=driver.find_elements_by_id('recording-locked-notifier_0')
          close1.click()
          close2=driver.find_elements_by_class_name('spectrum-Button spectrum-Button--secondary')
          close2.click()
      except:
          pass
  
  
  
  
  urlgetter(driver)
  </code></pre>
  <p>When i run it give me this error at the end</p>
  <pre><code>DevTools listening on ws://127.0.0.1:60683/devtools/browser/9b15c32e-ddc1-4ddd-9abe-bcf597ad4821
  [4888:9376:1120/223739.924:ERROR:device_event_log_impl.cc(211)] [22:37:39.924] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
  </code></pre>