Class WebDriverScope
java.lang.Object
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
public class WebDriverScope
extends Object
implements org.springframework.beans.factory.config.Scope
A special scope used for
WebDriver
beans. Usually registered by a
WebDriverContextCustomizerFactory
and reset by a
WebDriverTestExecutionListener
.- Since:
- 3.0.0
- See Also:
-
WebDriverContextCustomizerFactory
WebDriverTestExecutionListener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerDestructionCallback
(String name, Runnable callback)
-
Field Details
-
NAME
WebDriver bean scope name.- See Also:
-
-
Constructor Details
-
WebDriverScope
public WebDriverScope()
-
-
Method Details
-
get
- Specified by:
get
in interfaceorg.springframework.beans.factory.config.Scope
-
remove
- Specified by:
remove
in interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
- Specified by:
registerDestructionCallback
in interfaceorg.springframework.beans.factory.config.Scope
-
resolveContextualObject
- Specified by:
resolveContextualObject
in interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
- Specified by:
getConversationId
in interfaceorg.springframework.beans.factory.config.Scope
-