File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
javascript/node/selenium-webdriver/lib Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,12 @@ function checkModifierKey(key) {
65
65
* Class for defining sequences of complex user interactions. Each sequence
66
66
* will not be executed until {@link #perform} is called.
67
67
*
68
- * Example:
68
+ * This class should not be instantiated directly. Instead, obtain an instance
69
+ * using {@link ./webdriver.WebDriver#actions() WebDriver.actions()}.
69
70
*
70
- * new ActionSequence(driver).
71
+ * Sample usage:
72
+ *
73
+ * driver.actions().
71
74
* keyDown(Key.SHIFT).
72
75
* click(element1).
73
76
* click(element2).
@@ -377,9 +380,12 @@ class ActionSequence {
377
380
* Class for defining sequences of user touch interactions. Each sequence
378
381
* will not be executed until {@link #perform} is called.
379
382
*
380
- * Example:
383
+ * This class should not be instantiated directly. Instead, obtain an instance
384
+ * using {@link ./webdriver.WebDriver#touchActions() WebDriver.touchActions()}.
385
+ *
386
+ * Sample usage:
381
387
*
382
- * new TouchSequence( driver).
388
+ * driver.touchActions( ).
383
389
* tapAndHold({x: 0, y: 0}).
384
390
* move({x: 3, y: 4}).
385
391
* release({x: 10, y: 10}).
You can’t perform that action at this time.
0 commit comments