- Run appium on your code with link
git clone git@github.com:appium/appium.git
cd appium
npm install
cd ..
git clone git@github.com:appium/appium-uiautomator2-driver.git
cd appium-uiautomator2-driver
npm install
cd ../appium
npm link /Users/kazu/GitHub/appium-uiautomator2-driver # your code
- next:
- change /Users/kazu/GitHub/appium-uiautomator2-driver/lib/driver.js
async createSession (...args) { # Line 147
# add below
logger.info('======hello from uia2 AppiumConf2019 ======');
# in appium-uiautomator2-driver
npm run build
# in Appium
node .
- Run client side code
- maybe, git clone clinet dource and run its test code is the easiest
xcuitest driver case