I am trying to find an element on a webpage (https://www.fimea.fi/web/en/databases_and_registeries/spcs/human_medicinal_products) using Selenium and Python and I want to find the first text input for name of the medicinal product.
I am getting this error:
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name='nimi'][@type='text']"}
I am currently using the code below:
clear_button = driver.find_element_by_xpath("//input[@name='nimi'][@type='text']")
I am new to Python and Selenium. Please help me out on this.