Help running sample PHP-Appium project

I’m trying to run the sample php project from here https://github.com/appium/sample-code
I have downloaded the appium app and can start and install the TestApp normally on my simulator.
But when i run

vendor/bin/phpunit SimpleTest.php

i get this in my console:

The Selenium Server is not active on host localhost at port 4723.

I entered the url “http://127.0.0.1:4723/wd/hub/status” as well as “http://localhost:4723/wd/hub/status” directly in browser and get json result normally.

Can anyone help?

Ok, the problem has nothing to do with appium.

This is an IPv6 related issue, originating in the /etc/hosts file of Mac. To fix this, find the line “fe80::1%lo0 localhost” and comment it out. Or just use this one liner:

sudo sed -i "" 's/^fe80\:\:/\#fe80\:\:/g' /etc/hosts

Hi, Sorry to hijack the thread, but I need some help and I think you can help me. I’m trying to test automate an Android application with appium PHP. I’m new to appium and tried searching for tutorials for PHP with Appium. I couldn’t find anything. I have no Idea where to I start. It will be great if you can help me out.

Hi,

Have you tried with Behat ?