Skip to content

[🐛 Bug]: Use updated endpoints for log-related APIs #14461

@mykola-mokhnach

Description

@mykola-mokhnach

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

latest

Node.js Version

22

Mode

Standalone Mode

Which capabilities are you using?

{
  capabilities: {
    alwaysMatch: {
      platformName: 'iOS',
      'appium:platformVersion': '17.5',
      'appium:deviceName': 'iPhone 15',
      'appium:automationName': 'XCUITest',
      'appium:launchWithIDB': true,
      'appium:noReset': true,
      'appium:maxTypingFrequency': 30,
      'appium:clearSystemFiles': true,
      'appium:showXcodeLog': true,
      'appium:wdaLaunchTimeout': 960000,
      'appium:wdaConnectionTimeout': 960000,
      'appium:useNewWDA': true,
      'appium:webviewConnectTimeout': 30000,
      'appium:simulatorStartupTimeout': 960000,
      'appium:forceAppLaunch': true,
      'appium:app': '/Users/runner/work/appium-xcuitest-driver/appium-xcuitest-driver/test/assets/UIKitCatalog-iphonesimulator.app',
      'appium:usePrebuiltWDA': true
    },
    firstMatch: [ {} ]
  }
}

What happened?

Currently the getLog and getLogTypes APIs invoke POST /session/:sessionId/log and GET /session/:sessionId/log/types respectively.

What is your expected behavior?

I expect these APIs to use updated POST /session/:sessionId/se/log and GET /session/:sessionId/se/log/types respectively. The endpoints without the /se prefix are part of the deprecated JWP spec and will be removed from Appium 3.

How to reproduce the bug.

Run a test using any of above APIs using Appium3 server beta version

Relevant log output

See https://github.com/appium/appium-xcuitest-driver/actions/runs/14889616272/job/41818257776#step:9:4963

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions