Skip to content

Conversation

ibrahimoztrk
Copy link

…) with WebElement

I was using selenium java before. There is such a method in java ;

public static ExpectedCondition visibilityOf(final WebElement element)

I cannot find it in c#. There is such a method in C# ;

public static Func<IWebDriver, IWebElement> ElementIsVisible(By locator)

In this case, I have to give a locater to the method I created every time. However, I want a method where I can directly give the element. The proposition is to make this possible.

Thank you
Best regards,

…) with WebElement

I was using selenium java before. There is such a method in java ;

public static ExpectedCondition<WebElement> visibilityOf(final WebElement element)

I cannot find it in c#. There is such a method in C# ;

public static Func<IWebDriver, IWebElement> ElementIsVisible(By locator)

In this case, I have to give a locater to the method I created every time. However, I want a method where I can directly give the element.  The proposition is to make this possible. 

Thank you 
Best regards,
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

Successfully merging this pull request may close these issues.

1 participant