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
It will move to the element and clicks (without releasing) in the middle of the given element.
10
+
它将移动到该元素,然后在给定元素的中间单击(不释放).
18
11
19
12
{{< code-tab >}}
20
13
{{< code-panel language="java" >}}
@@ -142,7 +135,8 @@ fun main() {
142
135
{{< / code-tab >}}
143
136
144
137
## contextClick
145
-
This method firstly performs a mouse-move to the location of the element and performs the context-click (right click) on the given element.
138
+
139
+
此方法首先将鼠标移动到元素的位置, 然后在给定元素执行上下文点击(右键单击).
146
140
147
141
{{< code-tab >}}
148
142
{{< code-panel language="java" >}}
@@ -270,7 +264,7 @@ fun main() {
270
264
{{< / code-tab >}}
271
265
272
266
## doubleClick
273
-
It will move to the element and performs a double-click in the middle of the given element.
267
+
它将移动到该元素, 并在给定元素的中间双击.
274
268
275
269
{{< code-tab >}}
276
270
{{< code-panel language="java" >}}
@@ -398,7 +392,7 @@ fun main() {
398
392
{{< / code-tab >}}
399
393
400
394
## moveToElement
401
-
This method moves the mouse to the middle of the element. The element is also scrolled into the view on performing this action.
395
+
此方法将鼠标移到元素的中间. 执行此操作时, 该元素也会滚动到视图中.
402
396
403
397
{{< code-tab >}}
404
398
{{< code-panel language="java" >}}
@@ -527,7 +521,7 @@ fun main() {
527
521
528
522
## moveByOffset:
529
523
530
-
This method moves the mouse from its current position (or 0,0) by the given offset. If the coordinates are outside the view window, then the mouse will end up outside the browser window.
0 commit comments