Skip to content
Open
Show file tree
Hide file tree
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: 4 additions & 0 deletions remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,10 @@ func (wd *remoteWD) SetAlertText(text string) error {
return wd.voidCommand("/session/%s/alert/text", data)
}

func (wd *remoteWD) AddVirtualAuthenticator(params map[string]interface{}) error {
return wd.voidCommand("/session/%s/webauthn/authenticator", params)
}

func (wd *remoteWD) execScriptRaw(script string, args []interface{}, suffix string) ([]byte, error) {
if args == nil {
args = make([]interface{}, 0)
Expand Down
3 changes: 3 additions & 0 deletions selenium.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ type WebDriver interface {
// perform JSON decoding.
ExecuteScriptAsyncRaw(script string, args []interface{}) ([]byte, error)

// AddVirtualAuthenticator creates a software Virtual Authenticator.
AddVirtualAuthenticator(params map[string]interface{}) error

// WaitWithTimeoutAndInterval waits for the condition to evaluate to true.
WaitWithTimeoutAndInterval(condition Condition, timeout, interval time.Duration) error

Expand Down