(I looked at many other similar posts on SO and, unfortunately, could not solve this problem, so here it goes ...)
I am using Selenium WebDriver (C # implementation, version 2.15) to manage a fairly simple web page. The page contains a form with two characters, input> for username and password, and one <input> for submitting the form. I can successfully enter values โโfor the username and password, but calling Click () on the submit button has no effect.
In other recommendations, I tried the following tricks, none of which worked:
- Change window focus to currentWindowHandle
- Click on the parent item, then on the item
- Adding a long implicit wait
- Add a long explicit wait (sleep 20 seconds)
- Click on a number of item elements
- Use the Submit () function instead of Click ()
- Send the keys "\ n" to the element (Selenium reports this as an error)
Please note that I checked that the <enter button> was indeed successfully found, so this does not seem to be a problem.
Also, please note that I have confirmed that the button does work outside of Selenium Earth. That is, I can go to the site, enter the credentials and click the submit button (and it works!).
Also note that this issue applies to IE. This does not happen for me with Chrome and FF7.
So does anyone have any other ideas?
Stephen gross
source share