-
-
Notifications
You must be signed in to change notification settings - Fork 768
Closed
Labels
Description
The problem
Failed to start the session if SupportsOrientationOption is set.
Exception:
2022-04-13 09:12:21:016 - [Appium] Could not parse W3C capabilities: 'orientation' landscape is not included in the list
Environment
- Appium version (or git revision) that exhibits the issue: beta-30
- Last Appium version that did not exhibit the issue (if applicable): -
- Desktop OS/version used to run Appium: MacOS 12.2.1 (21D62)
- Node.js version (unless using Appium.app|exe): v17.8.0
- Npm or Yarn package manager: npm
- Mobile platform/version under test: iOS/Android
- Real device or emulator/simulator: real/simulator
- Appium CLI or Appium.app|exe: cli
- java-client verstion: 8.0.0
Details
Setting the SupportsOrientationOption causes session creation fail.
Options example:
private XCUITestOptions withOptions() {
new XCUITestOptions()
.setApp("app")
.setOrientation(ScreenOrientation.LANDSCAPE)
...