Mykola Mokhnach
4dc0a07884
chore(base-driver): Export the WebDriverProxy alias ( #20672 )
2024-10-17 08:09:58 +02:00
Mykola Mokhnach
56618886ed
feat(appium): Make server graceful shutdown timeout configurable via command line args ( #20641 )
2024-10-05 16:14:31 +02:00
renovate[bot]
63cb664af1
fix(base-driver): update dependency path-to-regexp to v8 ( #20520 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com >
2024-09-04 18:47:07 +02:00
Mykola Mokhnach
f583e99e60
chore(base-driver): Only print axios messages instead of full stacktraces ( #20506 )
2024-08-28 18:11:18 +02:00
Mykola Mokhnach
622b245ea3
fix(base-driver): Add a server flag to check if it operates a secure protocol ( #20449 )
2024-08-10 18:29:11 +02:00
Mykola Mokhnach
a97f3893e6
chore(base-driver): Print a log message if a command gets added into a non-empty waiting queue ( #20447 )
2024-08-09 07:45:29 +02:00
Kazuaki Matsuo
9eb65f7ad4
fix(base-driver): change required to option for setWindowRect to follow w3c ( #20391 )
2024-07-17 08:49:26 -07:00
Kazuaki Matsuo
6a97fe48ae
fix(base-driver): calls startNewCommandTimeout before returning NotYetImplementedError ( #20380 )
2024-07-16 00:12:44 -07:00
Mykola Mokhnach
139dbaeef6
fix(base-driver): Start command timeout even if the recent command has thrown an exception ( #20379 )
2024-07-16 08:59:44 +02:00
Mykola Mokhnach
1fa8c54765
chore(base-driver): Optimize server close algorithm ( #20345 )
2024-07-08 14:59:43 +02:00
Mykola Mokhnach
f8819836b5
chore(base-driver): Improve the exception message ( #20343 )
2024-07-07 09:30:12 +02:00
Mykola Mokhnach
ac912606e7
chore(base-driver): Optimize routeToCommandName logic ( #20331 )
2024-07-07 08:04:26 +02:00
Mykola Mokhnach
2882e71631
fix(base-driver): Check if app path is relative earlier ( #20276 )
2024-06-21 10:55:08 +02:00
kkb912002
f675abc27b
feat(appium): Improve context logging ( #20250 )
2024-06-18 09:55:30 +02:00
Kazuaki Matsuo
0363aab8ba
feat(appium): Add session signature to all logs ( #20202 ) ( #20214 )
...
* feat(appium): Add session signature to all logs (#20202 ) (#20214 )
* test(logger): add tests for unleakString (#20222 )
---------
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com >
Co-authored-by: Edgars Eglītis <37242620+eglitise@users.noreply.github.com >
2024-06-07 13:13:39 -07:00
Kazuaki Matsuo
40def9dbdb
fix(appium): Revert changes in 20203 and 20202 ( #20209 )
...
* Revert "feat(appium): Add session signature to all logs (#20202 )"
This reverts commit b3f8a47c2d .
* Revert "feat(logger): Add the 'debug' level to the default logger (#20203 )"
This reverts commit 7fd9d5f626 .
2024-06-06 16:17:57 -07:00
Mykola Mokhnach
b3f8a47c2d
feat(appium): Add session signature to all logs ( #20202 )
2024-06-06 22:46:52 +02:00
Mykola Mokhnach
21316e94d0
feat(base-driver): Make addition of search query params to cache optional ( #20195 )
2024-06-06 12:04:36 +02:00
Mykola Mokhnach
275790ec01
fix(base-driver): Update the web socket upgrade behavior ( #20142 )
2024-05-24 19:57:54 +02:00
renovate[bot]
a722f48f14
chore(deps): update definitelytyped ( #20070 )
2024-05-09 08:10:30 +02:00
Mykola Mokhnach
4e8c91c8f6
feat(base-driver): Add env variables to control applications cache ( #20042 )
2024-04-29 22:48:01 +02:00
Mykola Mokhnach
3423fd9206
feat(base-driver): Add the original app link argument to configureApp callbacks ( #20035 )
2024-04-24 18:01:14 +02:00
Mykola Mokhnach
77d2ef74bb
chore(bass-driver): Improve capability deprecation warning ( #20019 )
2024-04-19 20:21:51 +02:00
Mykola Mokhnach
8cf3efdbed
feat(base-driver): Add onDownload handler to the configureApp helper ( #20015 )
2024-04-19 13:21:24 +02:00
Kazuaki Matsuo
9f655f6f85
fix: do not print deprecation errors for non-provided caps ( #19986 )
2024-04-10 09:14:47 -07:00
Mykola Mokhnach
d5af68ecdd
chore(base-driver): Drop the obsolete es6-error import ( #19974 )
2024-04-06 10:20:30 +02:00
renovate[bot]
2448fa0145
fix(docutils): update dependency typescript to v5.4.2 ( #19876 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com >
2024-03-13 08:25:33 +01:00
Mykola Mokhnach
7de3c1d57a
chore(support): Deprecate AppiumLogger.errorAndThrow() ( #19577 )
2023-12-27 10:59:15 +01:00
Jonathan Lipps
f88d68f295
test(appium): wrap bluebird config in error handling for tests
2023-12-21 12:32:15 -08:00
Jonathan Lipps
2b21e66891
feat: add webdriver bidi support
2023-12-21 12:32:15 -08:00
Jonathan Lipps
b53c0b9674
chore: run prettier on some files ( #19403 )
...
Working on these files for the bidi implementation
And want a clean PR to review without all this junk
2023-11-10 15:27:13 +00:00
Kazuaki Matsuo
b83bd04265
chore(base-driver): remove mobileRotation as no references ( #19379 )
...
* chore(base-driver): remove mobileRotation as no references
* docs: remove unused endpoint
* test: fix test
2023-11-06 23:12:11 -08:00
Mykola Mokhnach
de02ed87fc
fix: Use pathToRegexp to match websocket endpoints ( #19162 )
2023-09-15 19:09:10 +02:00
Mykola Mokhnach
5926919177
feat(base-driver): Add server support of TLS and SPDY protocols ( #19105 )
2023-09-08 08:02:56 +02:00
Mykola Mokhnach
7722767d80
chore(base-driver): Tune the log message for non-recognised capabilities ( #19098 )
2023-08-31 20:46:14 +02:00
renovate[bot]
72a806bec7
fix(images-plugin): update dependency lru-cache to v10 ( #19050 )
2023-08-25 10:42:28 +02:00
Mykola Mokhnach
315a5e6cc7
fix(base-driver): Avoid RangeError while caching the response data ( #19043 )
2023-08-23 19:20:55 +02:00
hijack-x
abcf0d451f
fix(base-driver): fix the LRUCache.dispose callback param order ( #19037 )
2023-08-23 14:12:24 +02:00
Mykola Mokhnach
53bfc68eee
fix(base-driver): Fix possible NPE while cleaning up the state listener ( #19020 )
2023-08-21 13:56:55 +02:00
Mykola Mokhnach
2f69e6db2a
chore(base-driver): Improve bad parameters error message ( #19002 )
2023-08-19 08:27:31 +02:00
Mykola Mokhnach
ed8e83c76c
fix(base-driver): Respect basic auth credentials if provided ( #19000 )
2023-08-18 18:46:03 +02:00
renovate[bot]
aaf31a577c
fix(support): update dependency glob to v10 ( #18490 )
2023-08-02 22:34:34 +02:00
Mykola Mokhnach
de5b55ae90
fix(base-driver): Tune responses caching logic ( #18922 )
2023-08-01 08:09:13 +02:00
Bipin Kumar Chaurasia
ead861077a
docs(appium): add correct doc path for redirecting potentially insecure features with security.md file ( #18911 )
2023-07-27 12:50:43 -07:00
Mykola Mokhnach
75650a6b74
fix(base-driver): Use proper cached headers for app download ( #18874 )
2023-07-14 19:59:12 +02:00
Christopher Hiller
2b351705d4
fix(base-driver): pass thru all type args to ExternalDriver
...
- `core` module is now TS
- `constants` module is now TS
- export missing `W3C_ELEMENT_KEY`
- `JWProxy.command` returns `Promise<unknown>`. deal with it
- updated some type tests
2023-07-03 13:10:51 -07:00
Christopher Hiller
d6cca5175c
fix(types): separate the type of opts from initialOpts
...
A thing we know about the `opts` object passed in to a driver constructor is that it does _not_ contain caps. This value is retained in `this.initialOpts`. Upon session creation, it _does_ contain caps.
This adds a new type, `InitialOpts`, which is the first parameter to a driver. In the future, it may accept a type argument, as currently any extension-specific options (defined via schema in `package.json`) are not typed.
Because `DriverOpts` is a superset of `InitialOpts`, this should not be a breaking change.
2023-07-03 13:10:51 -07:00
Christopher Hiller
3d614d6d41
fix(base-driver): allow subclass to define shape of settings object
...
The mixin approach prevented subclasses of BaseDriver from narrowing the type of `this.settings`. Now, that's possible.
Also:
- removed an unused type argument from BD constructor
- and did some typedef aliasing
- remove unneeded type assertion from log mixin
2023-07-03 13:10:51 -07:00
Christopher Hiller
81bc527be6
fix(types): various fixes for reality
...
- because BaseDriver implements `findElOrEls` (technically), any subclasses must not inherit an interface containing a non-identical `findElOrEls` -- not even narrowing. so to avoid this, we will need to make it as broad as possible; no more generic `Ctx`
- likewise with `getLog`
- fix return type of `setGeoLocation`
- fix return type of `getPerformanceData`
- fix return type of `removeApp`
- fix return type of `hideKeyboard`
- fix return type of `getSystemBars`
- fix signature of various `touch*` methods
- fix return type of `setNetworkConnection`
alternatively, the deprecated methods mentioned here should be removed.
2023-06-14 16:21:51 -07:00
Christopher Hiller
54a4a8da03
fix(base-driver): update def of findElOrEls and findElOrElsWithProcessing
...
- adds some types to the `Proxy` class
- make `isErrorType()` a proper type guard
2023-06-14 16:21:51 -07:00