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
32 changes: 32 additions & 0 deletions src/main/java/io/appium/java_client/android/AndroidOptions.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.android;

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

public class AndroidOptions extends MobileOptions<AndroidOptions> {
public AndroidOptions() {
setPlatformName(MobilePlatform.ANDROID);
}

public AndroidOptions(Capabilities source) {
this();
merge(source);
}
}
32 changes: 32 additions & 0 deletions src/main/java/io/appium/java_client/ios/IOSOptions.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 IOSOptions extends MobileOptions<IOSOptions> {
public IOSOptions() {
setPlatformName(MobilePlatform.IOS);
}

public IOSOptions(Capabilities source) {
this();
merge(source);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,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