I’m getting the following error while trying to use ‘SendKeys’. The error is “unknown error: cannot focus element”. What causes this error ?
Can you please share in which browser and on which element you were trying to send the keys?
In order to use Send Keys application should remain in focus. First bring the target window application is focus using Focus Window Activity. Post that you can use Send Keys activity. You may need to use Scroll into View interaction to bring the element in view in case the window has a scroll bar and element is not visible