Cannot find Chrome binary when executing a selenium (testng) test in jenkins on windows 7

后端 未结 13 1693
太阳男子
太阳男子 2020-12-29 10:22

I have a basic login test with selenium and testng. When executed from eclipse, it works as expected and invoke Google Chrome. If executed from TESTNG command line, it works

13条回答
  •  盖世英雄少女心
    2020-12-29 10:37

    I think you need to install chrome in your instance. for that you follow this basic commands

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
    sudo yum install ./google-chrome-stable_current_*.rpm
    
    google-chrome &
    

提交回复
热议问题