appium-android-driver 12.1.3 → 12.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/driver.ts CHANGED
@@ -33,6 +33,7 @@ import {
33
33
  suspendChromedriverProxy,
34
34
  startChromeSession,
35
35
  mobileGetContexts,
36
+ mobileGetChromeCapabilities,
36
37
  getWindowHandle,
37
38
  getWindowHandles,
38
39
  setWindow,
@@ -243,7 +244,7 @@ class AndroidDriver
243
244
  _logcatWebsocketListener?: LogcatListener;
244
245
  _bidiServerLogListener?: (...args: any[]) => void;
245
246
  _bidiProxyUrl: string | null = null;
246
- _bidiProxyUrlCache: LRUCache<string, string> = new LRUCache({
247
+ _chromedriverCapsCache: LRUCache<string, StringRecord> = new LRUCache({
247
248
  max: 20,
248
249
  updateAgeOnGet: true,
249
250
  });
@@ -354,6 +355,7 @@ class AndroidDriver
354
355
  onChromedriverStop = onChromedriverStop;
355
356
  isWebContext = isWebContext;
356
357
  mobileGetContexts = mobileGetContexts;
358
+ mobileGetChromeCapabilities = mobileGetChromeCapabilities;
357
359
  setContext = setContext as any as (this: AndroidDriver, name?: string) => Promise<void>;
358
360
  setWindow = setWindow;
359
361
  getWindowHandle = getWindowHandle;
@@ -230,6 +230,10 @@ export const executeMethodMap = {
230
230
  },
231
231
  },
232
232
 
233
+ 'mobile: getChromeCapabilities': {
234
+ command: 'mobileGetChromeCapabilities',
235
+ },
236
+
233
237
  'mobile: lock': {
234
238
  command: 'lock',
235
239
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-android-driver",
3
- "version": "12.1.3",
3
+ "version": "12.2.0",
4
4
  "description": "Android UiAutomator and Chrome support for Appium",
5
5
  "keywords": [
6
6
  "appium",