~/talk

Build your own Appium plugin

Talkat Appium Conference 2021 · 2021-09-17..09-18· [testing, developer-experience]
slides:none on file

Shows how to build an Appium 2.0 plugin as a local Node.js plugin, with concrete steps: add appium-base-plugin to package.json, declare an appium object with pluginName and mainClass, create a class that extends BasePlugin, override commands (example: async findElements that logs via Appium logger and does await next), add newMethodMap routes (example GET /plugin/conf/details), implement shouldAvoidProxy to stop proxying, register a client command (WebdriverIO addCommand → driver.getConfDetails), install/activate locally with appium plugin install and --plugins, and demoed a working device-farm plugin that queues devices, assigns system ports for parallel runs and exposes a simple dashboard.

AI-written summary · about

  1. 0:00Start
  2. 4:32What Is Rpm Plugin and When Do You Want To Build an Fpm
  3. 6:36Live Coding Session
  4. 7:32Live Coding
  5. 7:48Disclaimer
  6. 9:42Appium Object
  7. 11:16Create a Class
  8. 11:37Import the Base Plugin
  9. 11:51Dependencies
  10. 13:29Modify Find Element
  11. 19:57Install the Plugin
  12. 20:08Uninstall Conf Demo
  13. 21:33Activate the Plugin
  14. 26:20Npm Test
  15. 33:10Add Command
  16. 34:19Rebuild the Server
  17. 37:23Parallel Testing
  18. 38:20Demo
  19. 44:19Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.