-
I'd like to test a site that uses WebAuthn for authentication. The WebAuthn spec extends the WebDriver API to include calls for creating, removing, and querying virtual authenticators and credentials. How can I make use of these features in Wallaby? I don't see functions in Wallaby's documentation for virtual authenticators specifically. Is there an escape hatch that would let me define custom requests to the WebDriver API? Maybe a lower-level call I can make? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I would need to personally research the WebDriver extension specification, but if you can create extensions by the HTTP interface, then you should be able to accomplish this in your code in the meantime. You can use the function
|
Beta Was this translation helpful? Give feedback.
I would need to personally research the WebDriver extension specification, but if you can create extensions by the HTTP interface, then you should be able to accomplish this in your code in the meantime.
You can use the function
Wallaby.HTTPClient.request(method, url, params \\ %{}, opts \\ [])
to send requests to the webdriver.method
is the http method, andurl
is the webdrivers server url. This can be fetched from the current sessionsession.url
.