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:
-
WebDriverContextCustomizerFactory
WebDriverTestExecutionListener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(String name, ObjectFactory<?> objectFactory) void
registerDestructionCallback
(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:
registerDestructionCallback
in interfaceScope
-
resolveContextualObject
- Specified by:
resolveContextualObject
in interfaceScope
-
getConversationId
- Specified by:
getConversationId
in interfaceScope
-