I have following problem. I run test on Firefox and Chrome. On Firefox test run correctly but on Chrome SauceLabs give a message:
unknown error: Element is not
I am assuming that you have the correct element you need, ie the XPath is correct. Here are few ways out:
parent element
instead.Submit()
instead of .Click()
JavaScript
that will be executed on the OnClick
event of the element you are trying to click.I have used the 3rd way with success all the time.
Another one
.SendKeys(Keys.Enter)
on that element (or a Space key)