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
Copy file name to clipboardExpand all lines: dusk.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
-[Scoping Selectors](#scoping-selectors)
25
25
-[Waiting For Elements](#waiting-for-elements)
26
26
-[Making Vue Assertions](#making-vue-assertions)
27
+
-[Scrolling An Element Into View](#scrolling-into-view)
27
28
-[Available Assertions](#available-assertions)
28
29
-[Pages](#pages)
29
30
-[Generating Pages](#generating-pages)
@@ -660,6 +661,14 @@ You may assert on the state of the Vue component like so:
660
661
});
661
662
}
662
663
664
+
<aname="scrolling-into-view"></a>
665
+
### Scrolling An Element Into View
666
+
667
+
The `scrollIntoView` method will scroll an element into view at the given selector. This is useful to call prior to interacting with an element that is not currently in view.
0 commit comments