webdriverio-community / wdio-vscode-service

A service to test VSCode extensions from end to end using WebdriverIO
https://webdriverio-community.github.io/wdio-vscode-service/
MIT License
29 stars 23 forks source link

Accessing the DebugToolbar via the Workbench #82

Closed tzAcee closed 9 months ago

tzAcee commented 9 months ago

Hey, inside the vscode page object docs the debug tool bar is defined, but how can I get a instance of it via the workbench?

Didn't find a example so far.

Appreciate any help!

tzAcee commented 9 months ago

Nevermind, it works the same way as accessing Input's: const debug_toolbar = await new DebugToolbar(workbench.locatorMap).wait();