Sha256: 34528ec6b8f42ab9368422d392c4e90300f280aa4513a36a08e1679e8c369220
Contents?: true
Size: 903 Bytes
Versions: 12
Compression:
Stored size: 903 Bytes
Contents
require 'base64' module Appium module Ios module Xcuitest module Certificate # Generates Apple's over-the-air configuration profile for certificate deployment # based on the given PEM certificate content. # https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html # https://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" # def install_certificate(cer_file:) args = { content: Base64.encode64(cer_file) } @driver.execute_script 'mobile: installCertificate', args end end end # module Xcuitest end # module Ios end # module Appium
Version data entries
12 entries across 12 versions & 1 rubygems