You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @gaozhao1989 ,
Sometimes when display DPI changes, the logical coordinates returned by JAB API are different from physical coordinates. And the reason is that the java application is not "PROCESS_PER_MONITOR_DPI_AWARE".
When using simulate click, we need physical coordinates to locate the element, So I think we need to convert logical coordinates to physical coordinates by calling win32 function "LogicalToPhysicalPointForPerMonitorDPI".
The text was updated successfully, but these errors were encountered:
Hi @gaozhao1989 ,
Sometimes when display DPI changes, the logical coordinates returned by JAB API are different from physical coordinates. And the reason is that the java application is not "PROCESS_PER_MONITOR_DPI_AWARE".
When using simulate click, we need physical coordinates to locate the element, So I think we need to convert logical coordinates to physical coordinates by calling win32 function "LogicalToPhysicalPointForPerMonitorDPI".
The text was updated successfully, but these errors were encountered: