title: How to send keys to this element
body: <p>I am using Python selenium chrome driver and i am stuck at filling out the csc and the year of the creditcard information field ( look at picture ). The credit card number and month works fine with this code:</p>
  <pre><code>        iframe = driver.find_element_by_xpath(&quot;//iframe[@class='js-iframe']&quot;)
          driver.switch_to.frame(iframe)
          inputCC = WebDriverWait(driver, 30).until(
              lambda driver: driver.find_element_by_id(&quot;encryptedCardNumber&quot;)
          )
          inputCC.send_keys(&quot;1111222233334444&quot;)
          driver.switch_to.default_content()
  
          time.sleep(1)
          iframe = driver.find_element_by_xpath(&quot;//iframe[@class='js-iframe']&quot;)
          driver.switch_to.frame(iframe)
          inputCC = WebDriverWait(driver, 30).until(
              lambda driver: driver.find_element_by_id(&quot;encryptedExpiryMonth&quot;)
          )
          inputCC.send_keys(&quot;08&quot;)
          driver.switch_to.default_content()
  </code></pre>
  <p>I tried to use the same for the csc and year with changing the id but it didnt work.
  How to do it?</p>
  <p><a href="https://i.stack.imgur.com/dEJon.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dEJon.png" alt="Creditcard momth console insight" /></a>
  <a href="https://i.stack.imgur.com/adXeo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/adXeo.png" alt="Creditcard year console insight" /></a>
  <a href="https://i.stack.imgur.com/RJ27p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RJ27p.png" alt="Creditcard csc console insight" /></a></p>