Control + Select using Mouse gives - "An unknown error occurred in the remote end while processing the command"
Hey All, when I try to select multiple items in my application as shown below, I am getting an exception "An unknown error occurred in the remote end while processing the command"
API Status code: 13 500 Internal server error POST -> Session/sessionID/Keys
Scenario 1: session.Keyboard.PressKey(Keys.Control); session.Mouse.Click(element1.Coordinates); session.Mouse.Click(element2.Coordinates); session.Keyboard.ReleaseKey(Keys.Control);
Scenario 2:
Actions action=new Actions(driver);
action.keyDown(Keys.CONTROL).build().perform();
session.Mouse.Click(element1.Coordinates);
session.Mouse.Click(element2.Coordinates);
action.keyUp(Keys.CONTROL).build().perform();
Scenario 3: Actions actions = new Actions(session); actions.SendKeys(Keys.Control).Perform(); Thread.Sleep(3000); actionss.Click(element).Perform(); Thread.Sleep(3000);
I have mentioned a few of the scenarios I tried with, try what may, the script breaks with one of the following issues either the control key remains pressed or we get an exception "An unknown error occurred in the remote end while processing the command"
Could anyone please guide me on this?