Commit graph

164 commits

Author SHA1 Message Date
Rondley Gregório
119e6167e2
docs: fixing deprecated tag display and returns (#14387)
* docs: fixing display when return has no description

* docs: fixing deprecated tag display to display description

* docs: fixing return typing

* docs: removing console.log

* docs: fixing HTMLElement return for WebdriverIO.Element
2025-04-08 15:46:18 -07:00
Rondley Gregório
7c9dd9a48d
docs: migrate from dox to comment-parser (#14369) 2025-04-04 18:08:07 -07:00
Wim Selles
ba09aebe8e
feat: add native mobile swipe (#14014)
* 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
2024-12-30 09:43:33 -08:00
Wim Selles
edbda17468
Add mobile tap command (#14012)
* 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
2024-12-27 13:24:39 -08:00
Christian Bromann
a79210972e
feat(webdriverio): support fake timers (#13252)
* feat(webdriverio): support fake timers

* finish implementation and add tests

* fix test

* add docs

* change __dirname

* minor test improvements

* resolve issues within tests

* add comment

* add typing tests

* more docs
2024-08-01 23:57:16 -07:00
Sang Nguyen
0dec22fa48
fix typo (#12777) 2024-05-01 19:51:49 -07:00
Christian Bromann
c2d106beee
(internal): replace expense workflow with custom action (#12232)
* (internal): replace expense workflow with custom action

* update deps
2024-02-13 21:53:07 -08:00
Christian Bromann
a3b7054525
(ci): remove brackets around value 2024-01-23 21:21:50 -08:00
Christian Bromann
0e61090479
(ci): minor last tweaks 2024-01-23 21:03:40 -08:00
Christian Bromann
9aa44fc894
(docs): add governance policies around using donation funds (#12080)
* (docs): new governance around project expenses

* implement expense flow

* attach flow to workflow

* add debug
2024-01-23 18:37:28 -08:00
Christian Bromann
a2f81bb7f5
(docs): fix code examples - fixes #11763 2023-11-30 11:17:31 -08:00
Tamil Selvan
9daf359fb3
Updating appium protocols (#11407)
* Updating appium protocols

* Update scripts/docs-generation/protocolDocs.ts

---------

Co-authored-by: Christian Bromann <git@bromann.dev>
2023-10-12 07:56:49 -07:00
Tamil Selvan
a1ecb216e5
(doc): migrate to eta from ejs (#11102)
* (doc): migrate to mustache from ejs

* adding eofl

* migrating to eta from mustache

* incorporating review comments
2023-09-06 07:14:53 +02:00
Christian Bromann
1c13ee1d6e
Type Safe Bidi Protocol (#10447)
* 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
2023-06-08 09:28:04 +02:00
Christian Bromann
788ad3e3ba
check out example repos using https url 2023-03-10 14:14:20 -08:00
Christian Bromann
69bcf32b67
add example for dollar commands 2023-02-24 00:37:03 -08:00
Christian Bromann
29116c67e0
Reference command examples from recipe repo and allow user to interact with them (#9808)
* set-up command examples from Github

* reference selector examples

* add examples for webdriver commands

* update git sha
2023-02-22 23:47:44 +01:00
Christian Bromann
2d958432c2
remove sync api examples 2022-09-24 22:20:55 -07:00
Christian Bromann
a1a3c37f03
[v8] Website updates (#8834)
* update website deps

* have own pages for browser, element and mock

* add docs for individual objects and protocol

* fix broken links
2022-09-23 21:05:45 +02:00
christian-bromann
e6e628568f
bring back tabview imports 2021-09-07 11:58:44 +02:00
christian-bromann
10097a25f8
fix protocol docs 2021-09-06 15:44:22 +02:00
Christian Bromann
f9eae7a674
Implement new async API (#6954)
* 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>
2021-07-28 11:36:21 +02:00
Christian Bromann
8ed14f70d1
Docusaurus v2 (#6239)
Co-authored-by: Piotr Mikosz <mikosz.piotr@gmail.com>
2021-01-26 14:05:20 +01:00
Christian Bromann
1a7d2626c5
TypeScript set up overhaul (#6302) 2021-01-20 22:38:34 +01:00
Christian Bromann
53c059f39e
Lighthouse v7 update (#6276) 2021-01-20 22:29:37 +01:00
Christian Bromann
f2de4d48cc
Rewrite wdio-sync package to TS (#6273) 2021-01-04 19:45:48 +01:00
christian-bromann
6eba30de7d
add typings for specFileRetriesDeferred - closes #6051 2020-12-29 16:40:23 +01:00
Hieu Do
040ddd0d9b
Tracking doc: rewrite @wdio/allure-reporter package into Typescript (#6085) 2020-12-22 08:57:37 +01:00
Christian Bromann
6bf7b203b2
Tracking doc: rewrite @wdio/runner package into TypeScript (#6216) 2020-12-15 23:40:28 +01:00
Mykola Grybyk
2286358353
webdriverio: respond params function support for headers and statusCode (#6215)
* webdriverio: respond params function support for headers and statusCode

* fix indentation in jsdoc
2020-12-10 17:44:41 +01:00
Christian Bromann
0dc46c2d30
Tracking doc: rewrite @wdio/cli package into TypeScript (#5829) 2020-12-10 15:57:37 +01:00
Christian Bromann
e78ecef891
Tracking doc: rewrite webdriverio package into TypeScript (#5854) 2020-12-03 06:34:42 +01:00
Christian Bromann
22ee02826a
Don't use global.browser in services (#6143) 2020-11-24 18:03:02 +01:00
Christian Bromann
81ad55c6b5
Add getElementComputedRole and getElementComputedLabel commands (#6158) 2020-11-24 17:20:39 +01:00
Abhishek Datta
24c3f72f20
Rewrite ConfigParser.ts of wdio-config in typescript (#6135)
* Rewrite ConfigParser.ts of wdio-config in typescript

* Update testrunner docs and address PR suggestions
2020-11-21 00:32:00 +01:00
Nick Richardson
7b1a18072d
Add Options to Save PDF (#6133)
Co-authored-by: Christian Bromann <github@christian-bromann.com>
2020-11-19 11:30:02 +01:00
Abhishek Datta
4148329e4d
Rewrite utils.ts and constants.ts of wdio-config in typescript (#6123)
* 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
2020-11-18 17:32:34 +01:00
Hieu Do
d2bc0b201d
Fix Selenium-Standalone service overriding capabilities (#6107) 2020-11-15 18:59:49 +01:00
Hieu Do
cb633ce0da
Tracking doc: rewrite @wdio/testingbot-service package into TypeScript (#6032)
Co-authored-by: Christian Bromann <github@christian-bromann.com>
2020-11-05 18:04:40 +01:00
Mykola Grybyk
d00887f02f
browser.mock use utf8 by default (#6062) 2020-11-02 13:53:26 +01:00
Christian Bromann
cd3fe11bef
Tracking doc: rewrite @wdio/local-runner package into TypeScript (#5839) 2020-10-30 16:06:38 +01:00
Christian Bromann
2716ecb114
Rewrite WebdriverIO browser API commands (#5992)
Co-authored-by: François Martin <f.martin@fastmail.com>
2020-10-30 13:53:39 +01:00
Mykola Grybyk
aa7a567c53
allure-reporter: mime type types (#6022) 2020-10-22 18:48:57 +02:00
Fabiano Brito
40e6131b82
Refactor webdriverio utils interception devtools to TS (#6021) 2020-10-22 18:15:46 +02:00
Christian Bromann
464d95a6d5
Tracking doc: rewrite @wdio/utils package into TypeScript (#5851)
Co-authored-by: Erwin Heitzman <erwin.heitzman@gmail.com>
2020-10-21 15:21:06 +02:00
Mykola Grybyk
2529189f3d
webdriverio: mock respond in request stage (#6006)
* webdriverio: mock respond in request stage
2020-10-20 13:35:26 +02:00
Sunil Jaiswal
b500fe29e2
Tracking doc: rewrite @wdio/selenium-standalone-service package into TypeScriptTs selenium standlone service (#5913)
Co-authored-by: Mykola Grybyk <25589559+mgrybyk@users.noreply.github.com>
Co-authored-by: Mike Grybyk <mykola.grybyk@servicehouse.nl>
2020-10-13 14:34:19 +02:00
Mykola Grybyk
edd02877d1
Edge types and selenium-standalone docs (#5956) 2020-10-08 14:59:39 +02:00
Mykola Grybyk
a46ea8c231
Suppress warning when running tests in Edge and update docs (#5943)
* devtools: remove edge warning and update docs

* add edge vendor prefix
2020-10-08 08:54:33 +02:00
Christian Bromann
13d3a3419b
Tracking doc: rewrite webdriver package into TypeScript (#5853) 2020-10-06 19:06:30 +02:00