Skip to content

Instantly share code, notes, and snippets.

@KazuCocoa KazuCocoa/appiumconf2019.md Secret
Last active Jun 13, 2019

Embed
What would you like to do?
  • 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
@KazuCocoa

This comment has been minimized.

Copy link
Owner Author

KazuCocoa commented Jun 13, 2019

xcuitest driver case

git clone git@github.com:appium/appium-xcuitest-driver.git
cd appium-xcuitest-driver
npm install
# change the code

# in appium repository
cd appium
npm link /Users/kazu/GitHub/appium-xcuitest-driver # your code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.