title: TypeError: 'WebElement' object is not subscriptable error submitting form using Selenium and Python
body: <p>I'm trying to automate twitch clip submission for good plays that he's made on cod but am having some problems.</p>
  <p>this is a testing form that I set up which is identical to the one clips would be getting submitted to normally - <a href="https://forms.gle/MDMM3buW2DT5erpp8" rel="nofollow noreferrer">https://forms.gle/MDMM3buW2DT5erpp8</a></p>
  <pre><code>from selenium import webdriver
  
  option = webdriver.ChromeOptions()
  option.add_argument(&quot;-incognito&quot;)
  
  
  browser = webdriver.Chrome(executable_path='/Users/Goldilocks/Downloads/chromedriver', options=option)
  
  browser.get(&quot;https://forms.gle/MDMM3buW2DT5erpp8&quot;)
  
  clipDescription = &quot;streamer sticks juggernaut with semtex for the win!&quot;
  clipLink = &quot;https://twitch.tv/joocylad&quot;
  textboxes = browser.find_elements_by_class_name(&quot;quantumWizTextinputPaperinputInput&quot;)
  radiobuttons = browser.find_elements_by_class_name(&quot;docssharedWizToggleLabeledLabelWrapper&quot;)
  submitbutton = browser.find_element_by_class_name(&quot;appsMaterialWizButtonPaperbuttonContent&quot;)
  
  
  radiobuttons[3].click()
  
  radiobuttons[2].click()
  
  textboxes[0].send_keys(&quot;JoocyLad&quot;)
  
  textboxes[1].send_keys(clipLink)
  
  textboxes[2].send_keys(clipDescription)
  
  textboxes[3].send_keys(&quot;email&quot;)
  
  
  submitbutton[0].click()
  
  browser.close()
  </code></pre>
  <p>the code isn't fully finished, I'm going to make <code>clipLink</code> and <code>clipDescription</code> into variables that take input when the program is run but I haven't gotten around to that yet.</p>
  <p>the problem I'm having is that the second multiple choice question isn't being filled in. and I also get the error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Users/Goldilocks/PycharmProjects/pythonProject/test.py&quot;, line 31, in &lt;module&gt;
      submitbutton[0].click()
  TypeError: 'WebElement' object is not subscriptable
  </code></pre>
  <p>I'm on google chrome version 87.0.4280.88 and the chrome driver is the same version, 87.0.4280.88</p>