appium / appium/java-client

Feature request to add default Appium methods

Open
#773 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In Appium there is method to get the device time (getDeviceTime()) but there is no method to get the device timezone using Appium.

I have noticed the following method is here

commandRepository.put(GET_DEVICE_TIME, getC("/session/:sessionId/appium/device/system_time"));

But there is no default method to get the values from the device using the driver..

We do need to support for the following methods

  1. To get device timezone
  2. To get Bluetooth status
  3. To enable Bluetooth
  4. To disable Bluetooth
  5. To get device language
  6. To get device region
  7. To get device preferred language
  8. To get location status

We are tried using ProcessBuilder to execute the adb command but we need a common method for iOS and Android because adb supports only Android.

Kindly add these methods or assist me on how to do these for both iOS and Android

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 with src/main/java/io/appium/java_client/MobileCommand.java and the existing GET_DEVICE_TIME command mapping. Review how driver methods expose that command, then determine how the requested timezone, Bluetooth, language, region, preferred-language, and location-status operations could be represented for both iOS and Android. Done means the requested operations are available through the common driver API.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.