Skip to content

Commit 329e84e

Browse files
committed
removed complexFind, scrollTo, scrollToExact. Will bring back scrolling methods once there are separate android and ios implementations
1 parent 411312a commit 329e84e

File tree

2 files changed

+0
-111
lines changed

2 files changed

+0
-111
lines changed

src/main/java/io/appium/java_client/AppiumDriver.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public class AppiumDriver extends RemoteWebDriver implements MobileDriver, Conte
4141

4242
private final static ErrorHandler errorHandler = new ErrorHandler(new ErrorCodesMobile(), true);
4343
private URL remoteAddress;
44-
private ComplexFind complexFind;
4544
private RemoteLocationContext locationContext;
4645
private ExecuteMethod executeMethod;
4746

@@ -52,7 +51,6 @@ public AppiumDriver(URL remoteAddress, Capabilities desiredCapabilities){
5251

5352
this.executeMethod = new AppiumExecutionMethod(this);
5453
this.remoteAddress = remoteAddress;
55-
complexFind = new ComplexFind(this);
5654
locationContext = new RemoteLocationContext(executeMethod);
5755

5856
ImmutableMap.Builder<String, CommandInfo> builder = ImmutableMap.builder();
@@ -531,18 +529,6 @@ public void shake() {
531529
execute(SHAKE);
532530
}
533531

534-
public MobileElement complexFind(String complex) {
535-
return complexFind.execute(complex);
536-
}
537-
538-
public MobileElement scrollTo(String text) {
539-
return complexFind.scrollTo(text);
540-
}
541-
542-
public MobileElement scrollToExact(String text) {
543-
return complexFind.scrollToExact(text);
544-
}
545-
546532
/**
547533
* Get the current network settings of the device.
548534
* This is an Android-only method

src/main/java/io/appium/java_client/ComplexFind.java

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)