Laravel Dusk error: Failed to connect to localhost port 9515: Connection refused

后端 未结 6 959
粉色の甜心
粉色の甜心 2021-02-05 01:16

As the title says, I\'ve go a clean install of Laravel 5.4 and the latest Homestead (1.0.1). However, when I run a simple Dusk test case I get the following error:

6条回答
  •  既然无缘
    2021-02-05 01:36

    This should help you download the latest version of chrome driver and unpack it properly.

    LATEST_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE) && wget -O /tmp/chromedriver.zip https://chromedriver.storage.googleapis.co /$LATEST_VERSION/chromedriver_linux64.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/;
    

提交回复
热议问题