* feat: add native mobile swipe
- add new swipe for native apps method
- add docs
- update `scrollIntoView` to make it depended on the `swipe`
- update UTs for `scrollIntoView`
- update and fix formatter and template
@TODO: add UT's
* feat: add duration
- add ut's
- update docs
* chore: remove not used const
* chore: update docs
* chore: fixes after feedback
* feat: set basics for tap command
* feat: add different taps
- add native tap on coordinates
- add web tap on coordinates
- add native tap on element
- add web tab on element
- add automatically scrolling when element is not visible on native tap
- add first unit tests
* test: add 2 failing tests
* fix: update scroll logic
- tested and works on Android
- updated the implicitWait for tap
- updated UT's
* fix: reduce tap complexity
- fix docs for mobile element commands
- update UT's
* feat: add (browser|driver).tap()
- update tests
* chore: updated docs
* chore: fix build
* feat: update docs
- update template to support merged cells as row info
* generate types from bidi protocol
* better script docs
* document interface
* include generated source files
* improve docs creation
* start replacing webdriver with bidi commands
* ignore bidi.json
* cddl updates
* make sure to generate bidi docs
* update tests
* add blog post
* fix download script
* set env to pull cddl file
* skip generating bidi if env variable is not available
* import only if generated
* build fixes
* check in bidi in @wdio/protocols
* GITHUB_AUTH not GITHUB_TOKEN
* minor fixes
* make generate scripts pass eslint
* release blog post today
* document unstable interfaces
* integrate new async interface into sync
* allow access to element props
* increase test coverage
* fix smoke tests
* improve unit testing
* add eslint ignore
* fix smoke tests
* add smoke tests for multiremote
* PR feedback
* Update docs to prefer new async API (#6987)
* update API template to add sync depcrecation warning
* rewrite API examples
* update guide section examples
* fix example
* fix xpath code
* update section
* improve design of depcrecation warning
* Update website/docs/SyncVsAsync.md
Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
* TypeScript support for new Async API (#7000)
* base implementation
* define iterator methods
* throw error if element index is out of bounds
* type improvements
* don't use async types for sync def
* add typing tests
* update deps
* fix build
* use rimraf to remove node_modules
* revert package-lock changes
* more type fixes
* fix unit tests
* revert package-lock changes
* fix call command
* attempt to get build fixed
* just call npm test
* try a different approach
* fix typings
* fix typing test
* Async API blog post (#7181)
* Blog post with announcement on improved async api
* PR feedback
* update boilerplate examples (#7192)
Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
* Rewrite utils.ts and constants.ts of wdio-config in typescript
* Extract wdio-config types into types.ts and update their uses
* Update wdio-config tests to use the rewritten ts files