Skip to content

Commit

Permalink
fix: store operations called with wd as receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomier committed Jun 14, 2022
1 parent e9100b7 commit 0f748c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func Example() {
// selenium.MousePointer is used to identify the type of the pointer.
// The stored action chain will move the pointer and click on the code
// editor text box on the page.
selenium.StorePointerActions("mouse1",
wd.StorePointerActions("mouse1",
selenium.MousePointer,
// using selenium.FromViewport as the move origin
// which calculates the offset from 0,0.
Expand All @@ -143,7 +143,7 @@ func Example() {
// "keyboard1" is used as a unique virtual device identifier
// for this and future actions.
// The stored action chain will send keyboard inputs to the browser.
selenium.StoreKeyActions("keyboard1",
wd.StoreKeyActions("keyboard1",
selenium.KeyDownAction(selenium.ControlKey),
selenium.KeyPauseAction(50),
selenium.KeyDownAction("a"),
Expand Down

0 comments on commit 0f748c3

Please sign in to comment.