webdriverio: `BrowserObject` instance does not "understand" typings

Pre-check

Describe the improvement Instance BrowserObject does not “understand” typings. I meant that autocomplete does not work at all: image As I understand BrowserObject type looks like:

// webdriverio.d.ts

type BrowserObject = WebDriver.ClientOptions & WebDriver.ClientAsync & WebdriverIOAsync.Browser;

So, autocomplete should show methods from these all types. Instead of it I see nothing. I don’t know why it happens.

I’d like to report

  • Unclear documentation
  • A typo
  • Missing documentation
  • Other

Description of the improvement / report A clear and concise description.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 39 (34 by maintainers)

Commits related to this issue

Most upvoted comments

@CrispusDH I’ll take care of this one