Replies: 1 comment
-
I guess... the root reason is WinAppDriver side https://github.com/search?q=repo%3Amicrosoft%2FWinAppDriver+Currently+only+pen+and+touch+pointer+input+source+types+are+supported&type=issues Instead, you could try out extensions such as https://github.com/appium/appium-windows-driver?tab=readme-ov-file#windows-click |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code. It creates a session and click on the File button with the command key.Click(), but my requirement is to use coordinates to click.
I tried the commands
//var action = new Actions(session);
//action.MoveByOffset(x, y).Click().Perform();
but this throws the error
Unhandled Exception: OpenQA.Selenium.WebDriverException: Currently only pen and touch pointer input source types are supported
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.d__63.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary
2 parameters) at OpenQA.Selenium.Appium.AppiumDriver.Execute(String driverCommandToExecute, Dictionary
2 parameters)at OpenQA.Selenium.WebDriver.PerformActions(IList`1 actionSequenceList)
at OpenQA.Selenium.Interactions.Actions.Perform()
at ConsoleApp1.Program.Main(String[] args) in C:\Users\spurwar\source\repos\ConsoleApp1\ConsoleApp1\Program.cs:line 58
I am using -
Beta Was this translation helpful? Give feedback.
All reactions