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 not deleted user 4338

Use for questions about Selenium 2. Selenium 2 is the second major release of Selenium, an open source framework for testing web applications. A major difference between Selenium 1 and Selenium 2 is the latter's use of WebDriver.

1 vote

Click event in Selenium webdriver is not working

The above doesn't look like what you intend to do, you are sending an ENTER keystroke to the logout element, waiting for 0.5 seconds (no need to wrap that in a try / catch as the sleep should not fail …
chrisc's user avatar
  • 271
0 votes

Question: C# Selenium: Read rows from html table until the last row is found, and Store in a...

You seem to be trying to select the a tags based on an attribute which is on a font tag. Instead, try the xpath selector //a[@target='SearchFrame'] to select all the links. You can use Driver.SelectEl …
chrisc's user avatar
  • 271
2 votes

How to get the text present between <H2> tag

Hey there's two issues here: A) you're calling ToString on an IWebElement. Try calling vele.Text instead of vele.ToString() instead. This will get you the text of the element rather than a taxi repre …
chrisc's user avatar
  • 271
2 votes

Testing pdf/excel content with C#

Webdriver is a browser manipulation API only and as such the ability to read office or PDF files is out of scope of its capabilities, but the office interop libraries will allow you to read data from …
chrisc's user avatar
  • 271
1 vote

Need help with getting list of items in Page factory, c#

I am only on my phone right now so can't try out any tests for this, but the problem here looks like the findsby attribute for the page object factory in Selenium is expecting to locate and return onl …
chrisc's user avatar
  • 271
0 votes

Unable to enter the text in a text box

Is the element you are selecting the actual element which receives the text? Without being able to see the html you are working on, you may be sending the text to a container for the actual input elem …
chrisc's user avatar
  • 271