I'm having difficulty sending login credentials to a form by selecting the 'class' elements. I get the 'Unable to locate element' error when running the code below. Not sure what to look for in the HTML code
'''
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Chrome(r"C:\Users\aigag\Documents\Python Projects\chromedriver.exe")
driver.get("https://www.goodlifefitness.com/home.html")
login = driver.find_element_by_class_name("c-header__login-text")
login.click()
time.sleep(1)
driver.switch_to_frame('destination_publishing_iframe_goodlifefitness_0')
loginemail = driver.find_element_by_class_name('c-field__input js-login-email c-login-block__input')
loginpass = driver.find_element_by_class_name("c-field__input js-login-password c-login-block__input")
time.sleep(2)
loginemail.send_keys('@gmail.com')
time.sleep(5)
driver.close()
'''
HTML code '''
<input type="email" placeholder="Enter Member ID, barcode or email address" class="c-field__input js-login-email c-login-block__input">
'''