Package org.openqa.selenium.firefox
Interface HasContext
-
- All Known Implementing Classes:
FirefoxDriver
@Beta public interface HasContext
Used by classes to indicate that they can change the context commands operate in.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirefoxCommandContext
getContext()
Current context commands are operating on.void
setContext(FirefoxCommandContext context)
Context commands are operating on.
-
-
-
Method Detail
-
setContext
void setContext(FirefoxCommandContext context)
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
-
-