There are multiple dropdowns in div section. If i select an option in one of the dropdown, then all the other dropdowns loads autmatically without page reload. This is because o
We can wait until div section have any sub section or child node.
div
WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(30)); IWebElement myDynamicElement = wait.Until<IWebElement>((d) => { return d.FindElement(By.XPath("//div[@id='Fruits']//*")); });