module Appium::Ios::Xcuitest::Certificate
Public Instance Methods
Source
# File lib/appium_lib/ios/xcuitest/command/certificate.rb, line 32 def install_certificate(cer_file:) args = { content: Base64.encode64(cer_file) } @driver.execute_script 'mobile: installCertificate', args end
Generates Appleās over-the-air configuration profile for certificate deployment based on the given PEM certificate content. developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html github.com/appium/appium-xcuitest-driver/pull/652
@param [string] cer_file The content of the certificate file.
@example
install_certificate cer_file: "path/to/cert.cer"