Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6ecd988
implement driver options
titusfortner Mar 29, 2020
0bb2633
add javadocs to mobile options
titusfortner Mar 29, 2020
e8f4cfd
allow MobileOptions to be instantiated
titusfortner Mar 30, 2020
9ce12fd
make requested changes
titusfortner Mar 30, 2020
59940a9
implement android options with tests
titusfortner Mar 30, 2020
3f08c47
support enums for applicable setters
titusfortner Mar 30, 2020
7a626af
add javadocs to android mobile options
titusfortner Mar 31, 2020
6642232
fix duration parameters to store correct units in capabilities
titusfortner Mar 31, 2020
e38f7e1
fix incorrect constants
titusfortner Mar 31, 2020
d11428b
user needs to be able to pass in int to capability and have it handle…
titusfortner Apr 1, 2020
c5fbb3d
all ports as Integers
titusfortner Apr 1, 2020
aefbb79
fix port tests
titusfortner Apr 1, 2020
d07e5a9
finally fix duration implementation
titusfortner Apr 1, 2020
988ac1b
chromedriver ports can have nested lists
titusfortner Apr 1, 2020
442a779
Selenium automatically converts ChromeOptions to goog:chromeOptions
titusfortner Apr 1, 2020
f240eaf
remove unicodeKeyboard accessors
titusfortner Apr 1, 2020
1453a1a
change uninstallOtherApps from List to String
titusfortner Apr 1, 2020
1df2efd
change otherApps from List to String
titusfortner Apr 1, 2020
38b3ef0
fix test
titusfortner Apr 1, 2020
ffd26c4
fix parameter name
titusfortner Apr 1, 2020
3b1c230
don't need to use Object when return value is a List
titusfortner Apr 1, 2020
4aa554c
fix ios options test
titusfortner Apr 1, 2020
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
1,733 changes: 1,733 additions & 0 deletions src/main/java/io/appium/java_client/android/AndroidMobileOptions.java

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/main/java/io/appium/java_client/android/UnlockType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package io.appium.java_client.android;

public enum UnlockType {
PIN, PASSWORD, PATTERN, FINGERPRINT
}
32 changes: 32 additions & 0 deletions src/main/java/io/appium/java_client/ios/IOSMobileOptions.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.appium.java_client.ios;

import io.appium.java_client.remote.MobileOptions;
import io.appium.java_client.remote.MobilePlatform;
import org.openqa.selenium.Capabilities;

public class IOSMobileOptions extends MobileOptions<IOSMobileOptions> {
public IOSMobileOptions() {
setPlatformName(MobilePlatform.IOS);
}

public IOSMobileOptions(Capabilities source) {
this();
merge(source);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public interface MobileCapabilityType extends CapabilityType {
String EVENT_TIMINGS = "eventTimings";

/**
* This is the flag which forces server to switch to the mobile WSONWP.
* This is the flag which forces server to switch to the mobile JSONWP.
* If {@code false} then it is switched to W3C mode.
*/
String FORCE_MJSONWP = "forceMjsonwp";
Expand Down
Loading