appium-webdriveragent 5.8.7 → 5.9.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.9.0](https://github.com/appium/WebDriverAgent/compare/v5.8.7...v5.9.0) (2023-09-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * do not get active process information in a new session request ([#774](https://github.com/appium/WebDriverAgent/issues/774)) ([2784ce4](https://github.com/appium/WebDriverAgent/commit/2784ce440f8b5ab9710db08d9ffda704697ac07c))
7
+
1
8
  ## [5.8.7](https://github.com/appium/WebDriverAgent/compare/v5.8.6...v5.8.7) (2023-09-22)
2
9
 
3
10
 
@@ -410,6 +410,10 @@
410
410
  ];
411
411
  }
412
412
 
413
+ /**
414
+ Return current session information.
415
+ This response does not have any active application information.
416
+ */
413
417
  + (NSDictionary *)sessionInformation
414
418
  {
415
419
  return
@@ -438,15 +442,10 @@
438
442
 
439
443
  + (NSDictionary *)currentCapabilities
440
444
  {
441
- FBApplication *application = [FBSession activeSession].activeApplication;
442
- // to log the info in the system
443
- [FBLogger logFmt:@"Current active application bundle id is %@", application.bundleID];
444
445
  return
445
446
  @{
446
447
  @"device": [self.class deviceNameByUserInterfaceIdiom:[UIDevice currentDevice].userInterfaceIdiom],
447
- @"sdkVersion": [[UIDevice currentDevice] systemVersion],
448
- @"browserName": application.label ?: [NSNull null],
449
- @"CFBundleIdentifier": application.bundleID ?: [NSNull null],
448
+ @"sdkVersion": [[UIDevice currentDevice] systemVersion]
450
449
  };
451
450
  }
452
451
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "5.8.7",
3
+ "version": "5.9.0",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {