Package org.openqa.selenium.firefox
Interface HasContext
-
- All Known Implementing Classes:
FirefoxDriver
@Beta public interface HasContextUsed 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 FirefoxCommandContextgetContext()Current context commands are operating on.voidsetContext(FirefoxCommandContext context)Context commands are operating on.
-
-
-
Method Detail
-
setContext
void setContext(FirefoxCommandContext context)
Context commands are operating on.- Parameters:
context-FirefoxCommandContextoperating on page loaded in the browser or on browser elements hosting the page.
-
getContext
FirefoxCommandContext getContext()
Current context commands are operating on.- Returns:
FirefoxCommandContextvalue currently operating on commands
-
-