I have a big problem, and I don't find the solution.
I have 2 classes: Components_BI.cs with this component:
[FindsBy(How = How.XPath, Using = "//*[@id='body-container']/div/div[1]/div/div/button[contains(text(), 'Paraméterek')]")]
public IWebElement login_Check { get; set; }
And Program.cs with this code:
WebDriverWait waiting = new WebDriverWait(PropertiesCollection.driver, TimeSpan.FromSeconds(30));
waiting.Until(ExpectedConditions.ElementExists((componentClass.login_Check)));
How to wait for this element with waiting.Until command?