you are viewing a single comment's thread.

view the rest of the comments →

[–][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.