title: How to use selenium to click on a discord servers channel?
body: <p>I am trying to use selenium with python to automate some discord tasks. I have it open browser to discordapp.com, login, go to the server in question, but I can't find any css selector, xpath, class name, etc to be able to click on a channel called "commands". Any help would be appreciated. </p>
  
  <pre class="lang-py prettyprint-override"><code>from selenium import webdriver
  import time
  browser = webdriver.Firefox(executable_path=r'C:\Users\levir\OneDrive\Desktop\geckodriver.exe')
  browser.get('https://discordapp.com')
  linkElem = browser.find_element_by_class_name('appButton-3GZ9-9') #login button
  linkElem.click()
  linkElem = browser.find_element_by_xpath('/html/body/div/div[1]/div/div[2]/div/form/div/div/div/div[3]/div[1]/div/input')
  linkElem.send_keys('EMAIL') #email
  linkElem = browser.find_element_by_xpath('/html/body/div/div[1]/div/div[2]/div/form/div/div/div/div[3]/div[2]/div/input')
  linkElem.send_keys('PASSWORD') #password
  linkElem = browser.find_element_by_xpath('/html/body/div/div[1]/div/div[2]/div/form/div/div/div/div[3]/button[2]/div')
  linkElem.click() #logs in
  time.sleep(10)
  linkElem = browser.find_element_by_xpath('/html/body/div/div[1]/div/div[2]/div/div/div[1]/div[2]/div[1]/div[6]')
  linkElem.click() #enters server
  time.sleep(1)
  linkElem = browser.find_element_by_css_selector('div.containerDefault-1ZnADq:nth-child(4)')
  linkElem.click() #is supposed to enter channel but doesn't work
  </code></pre>