Using the answer given here I created a similar expression to check for an element:
elem = WebDriverWait(browser, 10).until((EC.visibility_of_element_located(By.XPATH, "//input[@placeholder='Search in your collabs']")))
However, I get the following error:
...
elem = WebDriverWait(browser, 10).until((EC.visibility_of_element_located(By.XPATH, "//input[@placeholder='Search in your collabs']")))
TypeError: __init__() takes exactly 2 arguments (3 given)
But according to the example and the documentation that should be a correct expression! So why does it still fail (python2.7)?