Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click the search bar before the tagetting the search bar add the one line of code #7

Open
farhadmohmand66 opened this issue Dec 12, 2023 · 0 comments

Comments

@farhadmohmand66
Copy link

I got an error when I targeted the search tag, then I fixed it to add the below line of code with searchbox :
second_child_div = wait.until(EC.element_to_be_clickable((By.XPATH, '//*[@Class="x1iyjqo2 xh8yej3"]/div[2]')))
second_child_div.click()
You did it manually so

searchbox = wait.until(EC.element_to_be_clickable((By.XPATH, "//input[@Placeholder='Search']")))
searchbox.clear()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant