I am unable to click login form element below site:


I try:




but each code occur error.

How can I solve this problem? Thanks for your watching.

I'm using Selenium in C#.

  • What are the errors that you are seeing in each case? – Brian Jul 12 '19 at 20:37
  • Are you sure the page is loaded when you executing click action? If not you have to wait until the page loads. Better share the error you get for this code – Joe Sep 11 '19 at 5:50

Do something more advance. Use a while that will wait for element.enabled to be true Inside the while do a try catch, in this try catch you will be asking if element enabled = true

The you do the click and then the send keys

  • You really should add a code sample to this. – Brian Aug 16 '19 at 15:44

Try with :

  1. driver.FindElement(By.Id("memberID")).click();

  2. then driver.FindElement(By.Id("memberID")).sendKeys("Text");


You have 2 instances of the "memberId" Id attribute on the page. You need to interact with the second one.

Try this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.