Selenium with Java 28 - Actions class moveByOffset(int xoffset, int yoffset) method explained

preview_player
Показать описание
Actions class moveByOffset(int xoffset, int yoffset) method explained in detail
moveByOffset method in Actions class :
moveByOffset(int xoffset, int yoffset)- Moves the mouse to the specified offset of the last known mouse coordinates.

Possible Interview Questions on moveByOffset method in actions class selenium java :

How to use moveByOffset method?

Code :
actions
.moveByOffset(200, 200)
.contextClick()
.build()
.perform();
Рекомендации по теме
Комментарии
Автор

If the x axis and y axis i in float then how can i get the x axis and y axis

chaitanyadharmale
welcome to shbcf.ru