Class WebDriverScope
java.lang.Object
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- All Implemented Interfaces:
Scope
A special scope used for
WebDriver beans. Usually registered by a
WebDriverContextCustomizerFactory and reset by a
WebDriverTestExecutionListener.- Since:
- 3.0.0
- Author:
- Phillip Webb
- See Also:
-
WebDriverContextCustomizerFactoryWebDriverTestExecutionListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(String name, ObjectFactory<?> objectFactory) voidregisterDestructionCallback(String name, Runnable callback)
-
Field Details
-
NAME
WebDriver bean scope name.- See Also:
-
-
Constructor Details
-
WebDriverScope
public WebDriverScope()
-
-
Method Details
-
get
-
remove
-
registerDestructionCallback
- Specified by:
registerDestructionCallbackin interfaceScope
-
resolveContextualObject
- Specified by:
resolveContextualObjectin interfaceScope
-
getConversationId
- Specified by:
getConversationIdin interfaceScope
-