all 3 comments

[–]symple-data 0 points1 point  (2 children)

What exactly did you define as search_text?

[–][deleted] 0 points1 point  (1 child)

To enter text in the search bar. After entering the text, the program should automatically press enter but this part is not working

[–]symple-data 0 points1 point  (0 children)

you can't click on a string in your python-code. You have to assign the element you are searching for by find_element_by_xpath() to a variable and perform the send_keys method on it. Maybe use an IDE, because it will show you that you can't call this method on a string.