appium / appium/java-client

java.lang.IllegalArgumentException: No enum constant io.appium.java_client.Setting.customSnapshotTimeout

Open
#1,488 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

Unable to update Setting "customSnapshotTimeout"

Environment

  • Appium version (or git revision) that exhibits the issue:1.21.0
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium:macOS 11.4
  • Node.js version (unless using Appium.app|exe):
  • Npm or Yarn package manager:
  • Mobile platform/version under test:14.6 iPad
  • Real device or emulator/simulator:Real Device
  • Appium CLI or Appium.app|exe:Appium Desktop

Details

Unable to update Setting "customSnapshotTimeout"

Link to Appium logs

Code To Reproduce Issue [ Good To Have ]

iosDriver.setSetting(Setting.valueOf("customSnapshotTimeout"), 600);
in Java code using javaclient

io.appium
java-client
7.5.1

java.lang.IllegalArgumentException: No enum constant io.appium.java_client.Setting.customSnapshotTimeout

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the io.appium.java_client.Setting enum and any tests covering setSetting or enum values. Reproduce the valueOf("customSnapshotTimeout") failure, then verify that the setting is accepted and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.