Build your own Appium plugin
summary
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
chapters (19)
- 0:00Start
- 4:32What Is Rpm Plugin and When Do You Want To Build an Fpm
- 6:36Live Coding Session
- 7:32Live Coding
- 7:48Disclaimer
- 9:42Appium Object
- 11:16Create a Class
- 11:37Import the Base Plugin
- 11:51Dependencies
- 13:29Modify Find Element
- 19:57Install the Plugin
- 20:08Uninstall Conf Demo
- 21:33Activate the Plugin
- 26:20Npm Test
- 33:10Add Command
- 34:19Rebuild the Server
- 37:23Parallel Testing
- 38:20Demo
- 44:19Summary
related talks
08m"Build An Appium 2.0 Plugin In Under 8 Minutes"
44mBuild your own Appium 2.0 Driver
04mLightning Talk: What’s Coming with Appium 2.0?
42mAppium: The Next Generation
42mAppium: The Next Generation
52mAppium 2.0 - State of the Union
27mRethinking Appium’s Code Base
40mBeyond DOM: Leveraging Open-Source LLMs in an AI-Powered Appium Plugin
