Skip to content

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

@farhadmohmand66

Description

@farhadmohmand66

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions