You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in our enterprise setup we can not use webdriver.io and instead use selenium webdriver for javascript. Can you please provide an example on how to use the new service with selenium webdriver in JS/TS (especially how to configure the capabilities). As an alternative it would be also fine to use the graphql API directly from JS/TS but some examples for that would be also of great help. Thanks!
The text was updated successfully, but these errors were encountered:
Currently we don't have an example with Selenium in JS/TS. From a capabilities standpoint, it should not change as the logic occurs in the script running the session not near the part running the browser.
You'll find here the technical documentation of the API and the available methods. Alternatively you can rely on @saucelabs/visual which already deal with this GraphQL connection and the boiler plate part around it.
Lifecycle should be:
createBuild to create the Visual Build
createSnapshotUpload to get a link where to upload your screenshot.
createSnapshot to register the newly uploaded screenshot (+ metadata) to the build
finishBuild to mark the build as completed.
I don't have any timeline for more detailed documentation regarding API itself. Same for Selenium Javascript, I don't have any timeline for this integration.
Hi,
in our enterprise setup we can not use webdriver.io and instead use selenium webdriver for javascript. Can you please provide an example on how to use the new service with selenium webdriver in JS/TS (especially how to configure the capabilities). As an alternative it would be also fine to use the graphql API directly from JS/TS but some examples for that would be also of great help. Thanks!
The text was updated successfully, but these errors were encountered: