"Build An Appium 2.0 Plugin In Under 8 Minutes"
summary
Builds a working Node.js plugin in under 8 minutes that extends Appium 2.0 and removes "XCUIElementType" from iOS page source. The code uses npm, adds the appium base-plugin dependency, sets an appium section in package.json, implements a class listing getPageSource in commands and an async handler that calls next() to get the original source, strips the prefix, and returns it. Install with appium plugin install --source=local, activate by name, and verify the modified source — note it can break element lookup unless selectors are adjusted.
AI-written summary · about








