Changed deprecated browserCapabilities to browser