Appium-Open Notifications(打开通知) 偏执的太偏执、 2022-11-18 13:41 45阅读 0赞 ### Open Notifications ### * * * * * Example Usage * Support * * Appium Server * Appium Clients * HTTP API Specifications * * Endpoint * URL Parameters * JSON Parameters * Response Open Android notifications (Emulator only) //打开Android通知(仅限仿真器) ##### Example Usage ##### <table> <thead> <tr> <th></th> <th align="left"></th> </tr> </thead> <tbody> <tr> <td>Java</td> <td align="left">driver.openNotifications();</td> </tr> <tr> <td>Python</td> <td align="left">self.driver.open_notifications();</td> </tr> <tr> <td>Javascript</td> <td align="left">// webdriver.io example<br>driver.openNotifications();<br>// wd example<br>await driver.openNotifications();</td> </tr> <tr> <td>Ruby</td> <td align="left"># ruby_lib example<br>open_notifications();<br># ruby_lib_core example<br>@driver.open_notifications();</td> </tr> <tr> <td>C#</td> <td align="left">// TODO</td> </tr> <tr> <td>PHP</td> <td align="left">$driver->openNotifications();</td> </tr> </tbody> </table> ##### Support ##### ###### Appium Server ###### <table> <thead> <tr> <th>Platform</th> <th>Driver</th> <th>Platform Versions</th> <th>Appium Version</th> <th>Driver Version</th> </tr> </thead> <tbody> <tr> <td>iOS</td> <td>XCUITest</td> <td>None</td> <td>None</td> <td>None</td> </tr> <tr> <td></td> <td>UIAutomation</td> <td>None</td> <td>None</td> <td>None</td> </tr> <tr> <td>Android</td> <td>Espresso</td> <td>None</td> <td>None</td> <td>None</td> </tr> <tr> <td></td> <td>UiAutomator2</td> <td>?+</td> <td>1.6.0+</td> <td>All</td> </tr> <tr> <td></td> <td>UiAutomator</td> <td>4.3+</td> <td>All</td> <td>All</td> </tr> <tr> <td>Mac</td> <td>Mac</td> <td>None</td> <td>None</td> <td>None</td> </tr> <tr> <td>Windows</td> <td>Windows</td> <td>None</td> <td>None</td> <td>None</td> </tr> </tbody> </table> ###### Appium Clients ###### <table> <thead> <tr> <th>Language</th> <th>Support</th> <th>Documentation</th> </tr> </thead> <tbody> <tr> <td>Java</td> <td>All</td> <td>appium.github.io</td> </tr> <tr> <td>Python</td> <td>All</td> <td>appium.github.io</td> </tr> <tr> <td>Javascript (WebdriverIO)</td> <td>All</td> <td></td> </tr> <tr> <td>Javascript (WD)</td> <td>All</td> <td>github.com</td> </tr> <tr> <td>Ruby</td> <td>All</td> <td>www.rubydoc.info</td> </tr> <tr> <td>PHP</td> <td>All</td> <td>github.com</td> </tr> <tr> <td>C#</td> <td>All</td> <td>github.com</td> </tr> </tbody> </table> ##### HTTP API Specifications ##### ###### Endpoint ###### `POST /session/:session_id/appium/device/open_notifications` ###### URL Parameters ###### <table> <thead> <tr> <th>name</th> <th>description</th> </tr> </thead> <tbody> <tr> <td>session_id</td> <td>ID of the session to route the command to</td> </tr> </tbody> </table> ###### JSON Parameters ###### None ###### Response ###### null
还没有评论,来说两句吧...