Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 39186

WebDriver is an API for controlling web browsers, e.g. for automated tests. There are different WebDriver "language bindings" (i.e. client libraries) and WebDriver "implementations" (i.e. browser extensions that make a browser controllable via the API), so if your question is specific to one of them, make sure to also include the appropriate tag.

11 votes
Accepted

Checking if text is NOT displayed

Your IsElementVisible method can be condensed to: public bool IsElementVisible(IWebDriver driver, By element) { return driver.FindElements(element).Count > 0 && driver.FindElement(element) …
Dmitry's user avatar
  • 4,589