


每个Appium driver都负责自己的安全,Īllows retrieving of Appium server logs via the Webdriver log interface These are the features and names we know about for the officially-supported Appium drivers. Insecure FeaturesĮach Appium driver is responsible for its own security, and can create its own feature names. Any features listed here will be disabled, regardless of whether -relaxed-security is set and regardless of whether the names are also listed with -allow-insecure. deny-insecure: This flag can likewise be set to a comma-separated list of feature names, or a path to a feature file. It makes no sense to combine this flag with -relaxed-security. This is true unless -relaxed-security is also used, in which case all features will still be enabled. For example, -allow-insecure=adb_shell will cause only the ADB shell execution feature to be enabled.

-allow-insecure: Setting this flag to a comma-separated list of feature names or a path to a file containing a feature list (each name on a separate line) will allow only the features listed.-relaxed-security: Setting this flag turns on all insecure features (unless blocked by -deny-insecure see below).The server args doc outlines three relevant arguments which may be passed to Appium when starting it from the command line: server args doc概述了从命令行启动Appium时可能传递给Appium的三个相关参数: This is the responsibility of the one who launches the Appium server. 该机制强制系统管理员 (Appium server负责启动的人员 )明确选择使用这些特别的功能įor security reasons, Appium client sessions can not request feature enablement via capabilities. In general, if you’re running your own Appium server locally, and not sharing it with anyone else, and don’t expose Appium’s port to the wider internet, you should have nothing to worry about, and can safely enable all Appium’s features.īut because many Appium users might not be able to guarantee such a safe environment, the Appium team puts many features behind a security protection mechanism which forces system admins (the people that are in charge of starting the Appium server) to opt-in to these features explicitly. This is especially important when Appium is run in a multitenant environment, or when multiple users are running sessions on the same Appium server. The Appium team makes every effort to ensure the security of the Appium server.
