Skip to content

Commit aa0c72b

Browse files
rmescandonrobertomier
authored andcommitted
fix: store operations called with wd as receiver
1 parent e9100b7 commit aa0c72b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func Example() {
126126
// selenium.MousePointer is used to identify the type of the pointer.
127127
// The stored action chain will move the pointer and click on the code
128128
// editor text box on the page.
129-
selenium.StorePointerActions("mouse1",
129+
wd.StorePointerActions("mouse1",
130130
selenium.MousePointer,
131131
// using selenium.FromViewport as the move origin
132132
// which calculates the offset from 0,0.
@@ -143,7 +143,7 @@ func Example() {
143143
// "keyboard1" is used as a unique virtual device identifier
144144
// for this and future actions.
145145
// The stored action chain will send keyboard inputs to the browser.
146-
selenium.StoreKeyActions("keyboard1",
146+
wd.StoreKeyActions("keyboard1",
147147
selenium.KeyDownAction(selenium.ControlKey),
148148
selenium.KeyPauseAction(50),
149149
selenium.KeyDownAction("a"),

0 commit comments

Comments
 (0)