Commit graph

502 commits

Author SHA1 Message Date
Christian Bromann
37b4536580
fix(security): address multiple security vulnerabilities across codebase (#14570)
* fix(security): address multiple security vulnerabilities across codebase

* further improvements

* fix unit tests

* Potential fix for code scanning alert no. 65: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 69: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* properly escape regexp

* minor formatting

* improvements

* Potential fix for code scanning alert no. 72: Bad HTML filtering regexp

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 76: Incomplete multi-character sanitization

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* more stable comment removal implementation

* fix tests

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-16 11:18:01 -07:00
Regan Karlewicz
c501fbc0e0
chore: Update services.json to add TV Labs service (#14631)
* Add TV Labs service to services.json

* Add TV Labs service to wdio-create
2025-07-11 09:29:21 -07:00
Jesse Hines
ba4d2c1e42
Add wdio-obsidian-service to docs and cli (#14606) 2025-07-01 13:41:58 -07:00
mato533
9847c0f0c6
chore: replace asset to with at import statement (#14607) 2025-07-01 07:49:26 -07:00
Kauan Barbosa
5c3868b46f
feat: adding check in normalizeDoc function to make sure readmeArr is of string type (#14481)
* feat: adding check in normalizeDoc function to make sure readmeArr is of string type

* fix: removing empty line

* Update scripts/docs-generation/3rdPartyDocs.ts

---------

Co-authored-by: Christian Bromann <git@bromann.dev>
2025-05-14 19:06:28 -07:00
Christian Bromann
780ae101c0
docs: auto-generated translations (#14434)
* docs: auto-generated translations

* download docs from new location
2025-04-28 21:51:58 -07:00
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
Rondley Gregório
eaa075b875
fix: fix in docs formatter to accept new types (#14335) 2025-03-27 11:58:14 -07:00
Rondley Gregório
eddd4f1065
docs: fix all references to Sauce Labs docs (#14327)
Co-authored-by: Christian Bromann <git@bromann.dev>
2025-03-27 02:17:25 -07:00
Christian Bromann
686dee3cdb
feat(webdriverio): allow more options for screenshot taking with Bidi (#14267)
* feat(webdriverio): allow more options for screenshot taking with Bidi

* simplify options

* fix unit tests
2025-03-11 13:03:00 -07:00
Christian Bromann
889e725d0d
fix(docs): fix electron references 2025-03-02 14:45:01 -08:00
Aswin Chembath
292e40acae
Update-addingreporter (#14194)
* added wdio-json-html-reporter

* added wdio-json-html-reporter

* Updated to add the wdio-json-html-reporter reporter

* reverted the change in readme

* Update scripts/docs-generation/3rd-party/reporters.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>
2025-02-18 07:55:35 -08:00
jonathan terry
198e82fa06
updating constants and services lists with wdio-roku-service refs (#14111) 2025-01-24 15:29:30 -08: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
86b54a3525
fix(docs): upload files in batches 2024-12-25 12:22:15 -08:00
Christian Bromann
a2ae35332f
chore: upgrade to Eslint v9 (#13867)
* chore: upgrade to Eslint v9

* fix remaining issues

* more type fixes

* resolve remaining issues

* use wdio eslint package

* PR feedback
2024-12-18 11:55:43 -08:00
Wim Selles
82dea0795f
Add an element longPress command (#13895)
* feat: add longpress logic

- add docs
- add ut's

* fixes based on feedback

* feat: add longPress pseudo command

- add UTs
- update command docs

* chore: change device to mobile and update docs

* chore: add mobile doc

* Update longPress.ts

* Update longPress.ts
2024-11-20 13:41:09 -08:00
Amar Deep Singh
c8b936d4c7
fix(build): website build issue on windows (#13653)
Co-authored-by: Christian Bromann <git@bromann.dev>
2024-09-25 08:28:59 -07:00
Christian Bromann
7db37073bd
fix(docs): remove vitaq.ai as service plugin - closes #13472 2024-09-05 09:59:29 +02:00
Christian Bromann
b84bcf6d76
fix(infra): retry type generation (#13385)
* fix(infra): retry type generation

* remove link

* remove package linking in pipelines

* fix path in smoke tests

* remove another link call

* better resolve wdio modules in browser-runner

* fixes

* make it work on Windows

* more fixes

* more windows fixes

* unit test fix

* another windows fix

* fix e2e commands

* remove shx dep
2024-08-18 19:06:55 -07:00
Christian Bromann
660998a3bd
fix(internal): fix repository.url url 2024-08-17 13:00:32 -07:00
Christian Bromann
9612fed2fd
fix(website): make v9 the prod version 2024-08-15 10:07:03 -07:00
Christian Bromann
80779bb429
breaking(build): migrate to Esbuild for bundling (#13338)
* breaking(build): migrate to Rollup for bundling

* migrate more packages

* progress

* delete unnecessary tsconfigs

* migrate to esbuild

* revert npmignore changes

* more tweaks

* update pnpm-lock

* more tweaks

* compile scripts within browser environment

* fix ts issue in webdriverio

* add infra/compiler to readme

* fix lock file

* remove virtual:wdio from lock file

* update docs

* fix tests

* fix component tests

* fix unit tests

* clean up

* remove original build script

* more cleanups

* more cleanups

* last cleanup
2024-08-08 23:47:30 -07: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
Christian Bromann
175721998f
feat(webdriverio): dialog handler (#13247)
* feat(webdriverio): dialog handler

* auto handle alerts
2024-07-30 07:45:43 -07:00
Christian Bromann
8e00b4a1f7
docs: add sponsor section to front page 2024-07-10 17:54:57 -07:00
Christian Bromann
63953a6079
internal: better cjs setup that doesn't conflict with pnpm and lerna 2024-06-22 12:20:05 -07:00
Christian Bromann
c38781b567
docs: properly create mail links 2024-06-18 10:44:14 -07:00
Christian Bromann
7aecc8ada2
docs: revive 3rd party docs with broken readme 2024-06-18 09:29:23 -07:00
Wim Selles
1cfd58b1f8
Ws/ocr-v9 (#12929)
* ws/ocr-docs (#12928)

* Initial commit and copy of all docs

* chore: update ocr-testing doc

* chore: update getting started doc

* chore: finish getting started

* chore: add ocr-click-on-text

* chore: add ocr-get-element-position-by-text

* chore: add ocr-get-text

* chore: add ocr-set-value

* chore: add ocr-wait-for-text-displayed

* chore: add test execution time docs

* chore: add cli and faq

* revert package adjustment

* feat: add new ocr service
- remove old one

* add constants

* fix: fix ocr broken links

* chore: merge OCR V8 docs

- fix missing link
2024-05-27 21:16:13 -07:00
Sang Nguyen
bb39c0b105
Fix virtual authenticator (#12922) 2024-05-23 07:52:46 -07:00
Christian Bromann
3e813398b8
Revert "chore(internal): remove link script as it is not needed anymore with pnpm"
This reverts commit 7079f256db.
2024-05-07 22:36:15 -07:00
Christian Bromann
7079f256db
chore(internal): remove link script as it is not needed anymore with pnpm 2024-05-07 22:16:31 -07:00
Christian Bromann
2560fd86ba
docs(events): generate markdown pages for past events 2024-05-07 16:55:18 -07:00
Christian Bromann
26f3b8749f
docs(fix): fix link 2024-05-02 10:31:57 -07:00
Christian Bromann
fe2da831c7
docs(fix): fix link 2024-05-02 10:06:46 -07:00
Christian Bromann
b7841fa6f6
docs(fix): fix link 2024-05-02 09:29:26 -07:00
Christian Bromann
afb6befffc
docs(fix): fix menu structure 2024-05-02 09:08:54 -07:00
Christian Bromann
6b77373298
docs(electron): add standalone mode page 2024-05-02 08:55:52 -07:00
Sang Nguyen
0dec22fa48
fix typo (#12777) 2024-05-01 19:51:49 -07:00
Christian Bromann
ceeac488e8
feat(webdriverio): deep shadow root piercing (#12720)
* feat(webdriverio): deep shadow root piercing

* update bidi interface

* allow query elements within sub contexts

* make it work

* fix tests

* skip some tests for now

* reduce coverage further

* fallback to WebDriver classic if locateNodes isn't implemented
2024-04-24 21:18:01 -07:00
Christian Bromann
7343ee3520
(docs): get event times right 2024-03-18 23:07:41 -07:00
Christian Bromann
bf1890342e
(docs): improvements for event list and details page 2024-03-18 20:50:08 -07:00
Christian Bromann
6d5f945789
docs(events): Add events page (#12501)
* docs(events): add events page

* add hosts
2024-03-18 00:26:53 -07:00
Christian Bromann
28e64e439f
(devtools): removing devtools automation protocol (#12301)
* (devtools): bye bye

* remove e2e tests

* more cleanuops

* fix unit tests

* fix test command
2024-03-03 15:42:28 -08:00
Tamil Selvan
f1151005f1
V9 Remove JSONWireProtocol (#12006)
* V9 drop support for Node.js 16 (#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* V9 drop support for Node.js 16 (#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* V9 remove jsonWireProtocol

* V9 drop support for Node.js 16 (#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* (internal): update some dependencies that couldn't be updated due to support for Node.js v16

closes #11938
fixes #11858

* (webdriverio): make puppeteer a peer dependency (#12103)

* (webdriverio): make puppeteer a peer dependency

* fix type issues

* fix unit tests

---------

Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
Co-authored-by: Christian Bromann <git@bromann.dev>
2024-02-16 16:14:16 -08: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
4b3be04922
(build): don't fail build if GH token is invalid 2024-02-04 13:05:57 -08:00