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:
-
WebDriverContextCustomizerFactoryWebDriverTestExecutionListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterDestructionCallback(String name, Runnable callback)
-
Field Details
-
NAME
WebDriver bean scope name.- See Also:
-
-
Constructor Details
-
WebDriverScope
public WebDriverScope()
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.springframework.beans.factory.config.Scope
-
remove
- Specified by:
removein interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
- Specified by:
registerDestructionCallbackin interfaceorg.springframework.beans.factory.config.Scope
-
resolveContextualObject
- Specified by:
resolveContextualObjectin interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-