WiFi shield not present error
The problem was that the Arduino need to be connected to a power source + the USB cable. The USB cable on its own did not provide enought voltage for the shield to be detected. I plugged the 9V source to the USB and the shield works perfectly now!