Struct appium_client::capabilities::ios::IOSCapabilities
source · pub struct IOSCapabilities { /* private fields */ }
Expand description
iOS capabilities
Implementations§
source§impl IOSCapabilities
impl IOSCapabilities
sourcepub fn new() -> IOSCapabilities
pub fn new() -> IOSCapabilities
Creates new empty capability set for iOS (with driver autoselected by Appium).
sourcepub fn new_xcui() -> IOSCapabilities
pub fn new_xcui() -> IOSCapabilities
Creates empty capability set for XCuiTest iOS driver.
Trait Implementations§
source§impl AppCapable for IOSCapabilities
impl AppCapable for IOSCapabilities
source§fn other_apps(&mut self, paths: &[&str])
fn other_apps(&mut self, paths: &[&str])
App or list of apps (as a JSON array) to install prior to running tests. Read more
source§fn full_reset(&mut self, full_reset: bool)
fn full_reset(&mut self, full_reset: bool)
Perform a complete reset. Read more
source§fn print_page_source_on_find_failure(&mut self, value: bool)
fn print_page_source_on_find_failure(&mut self, value: bool)
When a find operation fails, print the current page source. Defaults to false. Read more
source§impl AppiumCapability for IOSCapabilities
impl AppiumCapability for IOSCapabilities
source§fn automation_name(&mut self, automation_name: &str)
fn automation_name(&mut self, automation_name: &str)
Set the automation driver to use (the engine for tests, eg. XCuiTest for iOS). Read more
source§fn platform_version(&mut self, version: &str)
fn platform_version(&mut self, version: &str)
The version of a platform, e.g., for iOS, “16.0”
source§fn device_name(&mut self, device_name: &str)
fn device_name(&mut self, device_name: &str)
The name of a particular device to automate. Read more
source§impl AppiumSettingsCapable for IOSCapabilities
impl AppiumSettingsCapable for IOSCapabilities
fn set_setting(&mut self, name: &str, value: Value)
source§impl Clone for IOSCapabilities
impl Clone for IOSCapabilities
source§fn clone(&self) -> IOSCapabilities
fn clone(&self) -> IOSCapabilities
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IOSCapabilities
impl Debug for IOSCapabilities
source§impl Default for IOSCapabilities
impl Default for IOSCapabilities
source§impl Deref for IOSCapabilities
impl Deref for IOSCapabilities
source§impl DerefMut for IOSCapabilities
impl DerefMut for IOSCapabilities
source§impl From<IOSCapabilities> for Capabilities
impl From<IOSCapabilities> for Capabilities
source§fn from(value: IOSCapabilities) -> Self
fn from(value: IOSCapabilities) -> Self
Converts to this type from the input type.
source§impl HasBattery<IOSCapabilities> for IOSClient
impl HasBattery<IOSCapabilities> for IOSClient
fn battery_info<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<BatteryInfo<Caps>, CmdError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
source§impl PartialEq for IOSCapabilities
impl PartialEq for IOSCapabilities
source§fn eq(&self, other: &IOSCapabilities) -> bool
fn eq(&self, other: &IOSCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UdidCapable for IOSCapabilities
impl UdidCapable for IOSCapabilities
source§impl XCUITestAppCompatible for IOSCapabilities
impl XCUITestAppCompatible for IOSCapabilities
source§fn localizable_strings_dir(&mut self, dir: &str)
fn localizable_strings_dir(&mut self, dir: &str)
Where to look for localizable strings. Default en.lproj
source§fn language(&mut self, language: &str)
fn language(&mut self, language: &str)
Language to set for the simulator / emulator. Read more
source§fn calendar_format(&mut self, value: &str)
fn calendar_format(&mut self, value: &str)
Calendar format to set for the iOS Simulator (eg.
gregorian
).source§fn app_push_timeout(&mut self, duration: Duration)
fn app_push_timeout(&mut self, duration: Duration)
Timeout for application upload in millisecond, on real devices
source§fn app_install_strategy(&mut self, value: &str)
fn app_install_strategy(&mut self, value: &str)
Select application installation strategy for real devices. Read more
source§fn auto_accept_alerts(&mut self, value: bool)
fn auto_accept_alerts(&mut self, value: bool)
Accept all iOS alerts automatically if they pop up. Read more
impl Eq for IOSCapabilities
impl StructuralEq for IOSCapabilities
impl StructuralPartialEq for IOSCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for IOSCapabilities
impl Send for IOSCapabilities
impl Sync for IOSCapabilities
impl Unpin for IOSCapabilities
impl UnwindSafe for IOSCapabilities
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more