Skip to content

Commit

Permalink
Support Appium 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
budtmo committed Feb 6, 2023
1 parent 56f1694 commit 6759714
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Appium/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ENV PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools
# Using this workaround to install Appium -> https://github.com/appium/appium/issues/10020 -> Please remove this workaround asap
#====================================
ENV NODE_VERSION=18
ENV APPIUM_VERSION=1.22.3
ENV APPIUM_VERSION=2.0.0-beta.53
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash && \
apt-get -qqy install nodejs && \
npm install -g appium@${APPIUM_VERSION} && \
Expand Down Expand Up @@ -143,6 +143,14 @@ ENV APP_PATH=/home/androidusr/${SCRIPT_PATH}
#==================
USER 1300:1301

#===============================
# Install basic Android drivers
#===============================
ENV APPIUM_DRIVER_ESPRESSO_VERSION="2.15.1"
ENV APPIUM_DRIVER_UIAUTOMATOR2_VERSION="2.12.2"
RUN appium driver install espresso@${APPIUM_DRIVER_ESPRESSO_VERSION} && \
appium driver install uiautomator2@${APPIUM_DRIVER_UIAUTOMATOR2_VERSION}

#===============
# Expose Port
#---------------
Expand Down

0 comments on commit 6759714

Please sign in to comment.