sauce_bindings icon indicating copy to clipboard operation
sauce_bindings copied to clipboard

Add/wrap performance testing/extended debug commands that are Sauce specific

Open christian-bromann opened this issue 5 years ago • 4 comments

The DevTools team has created a bunch of WebDriver extensions over the last year that might worth being added to the driver in various of languages. In WebdriverIO I already added these commands:

https://github.com/webdriverio/webdriverio/blob/master/packages/wdio-protocols/protocols/saucelabs.json

The document should be self describing but it would be cool if users could call those commands directly instead of using the JS Executor workaround.

christian-bromann avatar Oct 28 '19 15:10 christian-bromann

@christian-bromann awesome suggestion 👍 I started something similar a few months back but we decided to hold off for the Alpha and Beta versions. But likely will be released for v1.0. Are you thinking something like this or this? Just to make sure we're on the same page.

nadvolod avatar Oct 29 '19 15:10 nadvolod

Are you thinking something like this

No, what I thinking of here is to extend the Selenium client with these sauce specific commands so that someone can call e.g. driver.throttleNetwork('Regular #F')

christian-bromann avatar Oct 29 '19 15:10 christian-bromann

@christian-bromann cool, so basically performance-related stuff as I can tell from the doc?

nadvolod avatar Oct 29 '19 15:10 nadvolod

@nadvolod yes, these commands are mainly performance/extended debugging related

christian-bromann avatar Oct 29 '19 17:10 christian-bromann