appium / appium-windows-driver

Appium's interface to WindowsAppDriver provided by Microsoft
Apache License 2.0
133 stars 35 forks source link

Hover or ScrollInto Element #235

Open dsa45632 opened 11 months ago

dsa45632 commented 11 months ago

Warning:

These issues are not tracked. Please create new issues in the main Appium repository: https://github.com/appium/appium/issues/new I am trying to scroll into element, in order to do that I need to scroll on the table to find the element and then hover on the element but when https://github.com/appium/appium-windows-driver?tab=readme-ov-file#windows-hover I use this hover feature as far as I understand there needs to be start and end point when I pass those it only hover on the element location but it needs to scroll on the table to make the element visible first is there any way I could just move on the element or hover? or scroll on the table ? this only does hover to the element location not hover on the element windowsDriver.ExecuteScript("windows: hover", new Dictionary<string, object> { { "startX",0 }, { "startY", 0}, { "endX",startElement.Location.X }, { "endY", startElement.Location.Y } }); any suggestions will be thankful.