When my windows DPI is 100%, I could rightClick success, while it failed when my windows DPI is 150%, it seems the "rightClick" action worked on the false (x, y)
my code:
self.driver.execute_script('windows: click', {"elementId": self.wait_locator(loc).id, "button": "right"});
at the same time, I have tried other "execute_script" method, including: windows: scroll, windows: hover, "windows: click".
All these method have this issue
DPI Setting: Setting > System > Display > Scale
When my windows DPI is 100%, I could rightClick success, while it failed when my windows DPI is 150%, it seems the "rightClick" action worked on the false (x, y)
my code:
self.driver.execute_script('windows: click', {"elementId": self.wait_locator(loc).id, "button": "right"});at the same time, I have tried other "execute_script" method, including: windows: scroll, windows: hover, "windows: click".
All these method have this issue
DPI Setting: Setting > System > Display > Scale