Uses of Class
org.openqa.selenium.devtools.browser.model.BrowserContextID
-
Packages that use BrowserContextID Package Description org.openqa.selenium.devtools.browser org.openqa.selenium.devtools.storage org.openqa.selenium.devtools.target org.openqa.selenium.devtools.target.model -
-
Uses of BrowserContextID in org.openqa.selenium.devtools.browser
Method parameters in org.openqa.selenium.devtools.browser with type arguments of type BrowserContextID Modifier and Type Method Description static Command<java.lang.Void>
Browser. resetPermissions(java.util.Optional<BrowserContextID> browserContextId)
Reset all permission management for all origins.static Command<java.lang.Void>
Browser. setDownloadBehavior(Browser.SetDownloadBehaviorBehavior behavior, java.util.Optional<BrowserContextID> browserContextId, java.util.Optional<java.lang.String> downloadPath)
Set the behavior when downloading a file. -
Uses of BrowserContextID in org.openqa.selenium.devtools.storage
Method parameters in org.openqa.selenium.devtools.storage with type arguments of type BrowserContextID Modifier and Type Method Description static Command<java.lang.Void>
Storage. clearCookies(java.util.Optional<BrowserContextID> browserContextId)
Clears cookies.static Command<java.util.List<Cookie>>
Storage. getCookies(java.util.Optional<BrowserContextID> browserContextId)
Returns all browser cookies.static Command<java.lang.Void>
Storage. setCookies(java.util.List<CookieParam> cookies, java.util.Optional<BrowserContextID> browserContextId)
Sets given cookies. -
Uses of BrowserContextID in org.openqa.selenium.devtools.target
Methods in org.openqa.selenium.devtools.target that return types with arguments of type BrowserContextID Modifier and Type Method Description static Command<BrowserContextID>
Target. createBrowserContext(java.util.Optional<java.lang.Boolean> disposeOnDetach)
Creates a new empty BrowserContext.static Command<java.util.List<BrowserContextID>>
Target. getBrowserContexts()
Returns all browser contexts created with `Target.createBrowserContext` method.Methods in org.openqa.selenium.devtools.target with parameters of type BrowserContextID Modifier and Type Method Description static Command<java.lang.Void>
Target. disposeBrowserContext(BrowserContextID browserContextId)
Deletes a BrowserContext. -
Uses of BrowserContextID in org.openqa.selenium.devtools.target.model
Methods in org.openqa.selenium.devtools.target.model that return types with arguments of type BrowserContextID Modifier and Type Method Description java.util.Optional<BrowserContextID>
TargetInfo. getBrowserContextId()
-