Package org.openqa.selenium.firefox
Interface HasContext
- All Known Implementing Classes:
FirefoxDriver
Used by classes to indicate that they can change the context commands operate in.
-
Method Summary
Modifier and TypeMethodDescriptionCurrent context commands are operating on.void
setContext
(FirefoxCommandContext context) Context commands are operating on.
-
Method Details
-
setContext
Context commands are operating on.- Parameters:
context
-FirefoxCommandContext
operating on page loaded in the browser or on browser elements hosting the page.
-
getContext
FirefoxCommandContext getContext()Current context commands are operating on.- Returns:
FirefoxCommandContext
value currently operating on commands
-