I am trying to get input using python selenium, but it is showing me an error kindly help me to solve this error
inputElement.send_keys(getStock.getStocklFunc()[0])
error
inputElement = driver.find_element(by=By.CLASS_NAME, value='su-input-group')
NameError: name 'By' is not defined. Did you mean: 'py'?
I have tried with this line too but it is showing depreciation error
find_element_by_tag_name