Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: store operations called with wd as receiver #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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