Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,14 +686,14 @@ _8.6.0_

*6.0.0-BETA1*
- **[ENHANCEMENT]** **[REFACTOR]** **[BREAKING CHANGE]** **[MAJOR CHANGE]** Improvements of the TouchActions API [#756](https://github.com/appium/java-client/pull/756), [#760](https://github.com/appium/java-client/pull/760):
- `io.appium.java_client.touch.ActionOptions` and sublasses were added
- `io.appium.java_client.touch.ActionOptions` and subclasses were added
- old methods of the `TouchActions` were marked `@Deprecated`
- new methods which take new options.
- **[ENHANCEMENT]**. Appium drivr local service uses default process environment by default. [#753](https://github.com/appium/java-client/pull/753)
- **[ENHANCEMENT]**. Appium driver local service uses default process environment by default. [#753](https://github.com/appium/java-client/pull/753)
- **[BUG FIX]**. Removed 'set' prefix from waitForIdleTimeout setting. [#754](https://github.com/appium/java-client/pull/754)
- **[BUG FIX]**. The asking for session details was optimized. Issue report [764](https://github.com/appium/java-client/issues/764).
FIX [#769](https://github.com/appium/java-client/pull/769)
- **[BUG FIX]** **[REFACTOR]**. Inconcistent MissingParameterException was removed. Improvements of MultiTouchAction. Report: [#102](https://github.com/appium/java-client/issues/102). FIX [#772](https://github.com/appium/java-client/pull/772)
- **[BUG FIX]** **[REFACTOR]**. Inconsistent MissingParameterException was removed. Improvements of MultiTouchAction. Report: [#102](https://github.com/appium/java-client/issues/102). FIX [#772](https://github.com/appium/java-client/pull/772)
- **[DEPENDENCY UPDATES]**
- `org.apache.commons:commons-lang3` was updated to 3.7
- `commons-io:commons-io` was updated to 2.6
Expand Down
2 changes: 1 addition & 1 deletion docs/Advanced-By.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ XCUIElementTypeCell[$label == 'here'$]
#### Handling Quote Marks

Most of the time, you can treat pairs of single quotes or double quotes
interchangably. If you're searching with a string that contains quote marks,
interchangeably. If you're searching with a string that contains quote marks,
though, you [need to be careful](https://stackoverflow.com/q/14116217).

```c
Expand Down
8 changes: 4 additions & 4 deletions docs/How-to-report-an-issue.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Be sure that it is not a server-side problem if you are facing something that looks like a bug

The Appium Java client is the thin client which just sends requests and receives responces generally.
The Appium Java client is the thin client which just sends requests and receives responses generally.
Be sure that this bug is not reported [here](https://github.com/appium/appium/issues) and/or there is
no progress on this issue.

Expand All @@ -13,8 +13,8 @@ If it is the feature request then there should be the description of this featur

### Environment (bug report)

* java client build version or git revision if you use some shapshot:
* Appium server version or git revision if you use some shapshot:
* java client build version or git revision if you use some snapshot:
* Appium server version or git revision if you use some snapshot:
* Desktop OS/version used to run Appium if necessary:
* Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
* Mobile platform/version under test:
Expand All @@ -32,7 +32,7 @@ You can git clone https://github.com/appium/appium/tree/master/sample-code or ht
Also you can create a [gist](https://gist.github.com) with pasted java code sample or paste it at ussue description using markdown. About markdown please read [Mastering markdown](https://guides.github.com/features/mastering-markdown/) and
[Writing on GitHub](https://help.github.com/categories/writing-on-github/)

### Ecxeption stacktraces (bug report)
### Exception stacktraces (bug report)

There should be created a [gist](https://gist.github.com) with pasted stacktrace of exception thrown by java.

Expand Down
20 changes: 10 additions & 10 deletions docs/Page-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WebElement someElement;
List<WebElement> someElements;
```

# If there is need to use convinient locators for mobile native applications then the following is available:
# If there is need to use convenient locators for mobile native applications then the following is available:

```java
import io.appium.java_client.android.AndroidElement;
Expand Down Expand Up @@ -324,13 +324,13 @@ A typical page object could look like:

```java
public class RottenTomatoesScreen {
//convinient locator
//convenient locator
private List<AndroidElement> titles;

//convinient locator
//convenient locator
private List<AndroidElement> scores;

//convinient locator
//convenient locator
private List<AndroidElement> castings;
//element declaration goes on

Expand Down Expand Up @@ -371,13 +371,13 @@ public class Movie extends Widget{
super(element);
}

//convinient locator
//convenient locator
private AndroidElement title;

//convinient locator
//convenient locator
private AndroidElement score;

//convinient locator
//convenient locator
private AndroidElement casting;

public String getTitle(params){
Expand All @@ -404,7 +404,7 @@ So, now page object looks
```java
public class RottenTomatoesScreen {

@AndroidFindBy(a locator which convinient to find a single movie-root - element)
@AndroidFindBy(a locator which convenient to find a single movie-root - element)
private List<Movie> movies;

//element declaration goes on
Expand All @@ -427,7 +427,7 @@ public class RottenTomatoesScreen {
Then
```java
//the class is annotated !!!
@AndroidFindBy(a locator which convinient to find a single movie-root - element)
@AndroidFindBy(a locator which convenient to find a single movie-root - element)
public class Movie extends Widget{
...
}
Expand Down Expand Up @@ -658,7 +658,7 @@ This use case has some restrictions;

- All classes which are declared by the OverrideWidget annotation should be subclasses of the class declared by field

- All classes which are declared by the OverrideWidget should not be abstract. If a declared class is overriden partially like
- All classes which are declared by the OverrideWidget should not be abstract. If a declared class is overridden partially like

```java
//above is the other field declaration
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Remember to reload the config after it has been changed by restarting the comman
Also, it is possible to set variables on [per-process](https://stackoverflow.com/questions/10856129/setting-an-environment-variable-before-a-command-in-bash-not-working-for-second) basis.
This might be handy if Appium is set up to start automatically with the operating system, because on early stages of system initialization it is possible that the "usual" environment has not been loaded yet.

In case the Appium process is started programatically, for example with java client's `AppiumDriverLocalService` helper class, then it might be necessary to setup the environment [in the client code](https://github.com/appium/java-client/pull/753), because prior to version 6.0 the client does not inherit it from the parent process by default.
In case the Appium process is started programmatically, for example with java client's `AppiumDriverLocalService` helper class, then it might be necessary to setup the environment [in the client code](https://github.com/appium/java-client/pull/753), because prior to version 6.0 the client does not inherit it from the parent process by default.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class AppiumCommandInfo extends CommandInfo {
@Getter(AccessLevel.PUBLIC) private final HttpMethod method;

/**
* It conntains method and URL of the command.
* It contains method and URL of the command.
*
* @param url command URL
* @param method is http-method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ public enum AndroidKey {
TV_SATELLITE_SERVICE(240),
/**
* Key code constant: Toggle Network key.
* Toggles selecting broacast services.
* Toggles selecting broadcast services.
*/
TV_NETWORK(241),
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>> exten
* @param format The filter specifier. Consists from series of `tag[:priority]` items,
* where `tag` is a log component tag (or `*` to match any value)
* and `priority`: V (Verbose), D (Debug), I (Info), W (Warn), E (Error), F (Fatal),
* S (Silent - supresses all output). `tag` without `priority` defaults to `tag:v`.
* S (Silent - suppresses all output). `tag` without `priority` defaults to `tag:v`.
* If not specified, filterspec is set from ANDROID_LOG_TAGS environment variable.
* If no filterspec is found, filter defaults to `*:I`, which means
* to only show log lines with any tag and the log level INFO or higher.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected Map<String, Object> getResultAsMap() {
}

/**
* Verifies if the corresponding property is present in the commend result
* Verifies if the corresponding property is present in the command result
* and throws an exception if not.
*
* @param propertyName the actual property name to be verified for presence
Expand Down