Here I get this error when the page that I expect to receive and initialize elements on it does not load for more than 5 seconds:
net.serenitybdd.core.exceptions.SerenityManagedException: Timed out after 5 seconds waiting for net.serenitybdd.core.pages.WebElementFacadeImpl
Is there an option to change the loading timeout? If there is any file so that there is any property at all and I will be glad to read how to indicate them correctly. I did not find it at the docks, but I found such properties there
WEBDRIVER_WAIT_FOR_TIMEOUT = 60 WEBDRIVER_TIMEOUTS_IMPLICITLYWAIT = 60 THUCYDIDES_TIMEOUT=60
However, such spelling is apparently not working and you need something like
serenity.webdriver.timeout=x.
I specified wait in webdriver.timeouts.implicitlywait = 60, got the same error:
[main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.driver=firefox [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.project.name=EE Shop Automation [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.take.screenshots=FOR_FAILURES [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.timeouts.implicitlywait=60 net.serenitybdd.core.exceptions.SerenityManagedException: Timed out after 5 seconds waiting for net.serenitybdd.core.pages.WebElementFacadeImpl$1@5e9e7d08 Build info: version: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'