Capybara tests fail with Timeout::Error in the first test when using Google Maps Capybara tests fail with Timeout::Error in the first test when using Google Maps selenium selenium

Capybara tests fail with Timeout::Error in the first test when using Google Maps


Have you tried changing the GemFile around to have a group :production do ?

And are you loading this whole script in the proper place?

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false">

This example is for bootstrap:

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE"type="text/javascript"></script>