webdriverio: `BrowserObject` instance does not "understand" typings
Pre-check
- I’m aware that I can edit the docs and submit a pull request
Describe the improvement
Instance BrowserObject does not “understand” typings. I meant that autocomplete does not work at all:
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
- Use `any` for `browser` arg since wdio types can't be trusted Looking through the WebdriverIO repo and various issues it seems the webdriverio types can't be trusted from their package. There are mis... — committed to percy/percy-webdriverio by Robdel12 5 years ago
- Use `any` for `browser` arg since wdio types can't be trusted Looking through the WebdriverIO repo and various issues it seems the webdriverio types can't be trusted from their package. There are mis... — committed to percy/percy-webdriverio by Robdel12 5 years ago
- fix: Use `any` for `browser` arg since wdio types can't be trusted (#202) * Use `any` for `browser` arg since wdio types can't be trusted Looking through the WebdriverIO repo and various issues it... — committed to percy/percy-webdriverio by Robdel12 5 years ago
@CrispusDH I’ll take care of this one