Is there a way to use Serenity @Managed annotation to manage custom webdriver <p>I am trying to explore Serenity automation framework to test the application (built with SmartClientGWT) using <a href="https://www.smartclient.com/smartgwtee-5.0/server/javadoc/com/isomorphic/webdriver/SmartClientWebDriver.html" rel="nofollow">SmartClientWebDriver</a></p> <p>After adding a <a href="http://thucydides.info/docs/serenity-staging/#_custom_webdriver_implementations" rel="nofollow">custom WebDriver</a> (that returns SmartClientFirefoxWebDriver, because SmartClientWebDriver cannot be instantiated unfortunately) and setting it in serenity.properties file, I am able to execute a single test.</p> <p>But now I want to mark my custom driver (SmartClientFirefoxWebDriver) using @Managed annotation to allow the Serenity Test runner to instantiate it before all tests are run. But it throws error:</p> <p>java.lang.NullPointerException: null</p> <p>Has anyone ran into a similar issue and had luck resolving it?</p>