How to setup Appium in Ubuntu for android

前端 未结 9 2238
無奈伤痛
無奈伤痛 2020-11-29 08:28

I am new in appium(automation testing technology).

I\'m using a PC running Ubuntu Linux.

I have searched about this topic but I have not got any

9条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 09:11

    Steps to get appium working on ubuntu pc :

    Install ruby: Paste the below command at terminal and hit enter

    sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
    

    Install linux brew:Paste the below command at terminal and hit enter

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
    

    set path for brew

    Type: gedit .bashrc at terminal and copy paste following into the .bashrc file

    export PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
    export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
    

    Install node:Paste the below commands one by one at terminal and hit enter

    brew update
    brew install node
    brew link node
    

    Install appium

    npm install -g appium
    
    
    npm install wd
    

    To start appium: Paste the below command at terminal and hit enter

    appium
    

提交回复
热议问题