@@ -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
0 commit comments