MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Storage

Method Storage

java/src/org/openqa/selenium/bidi/module/Storage.java:43–51  ·  view source on GitHub ↗
(WebDriver driver)

Source from the content-addressed store, hash-verified

41 ConverterFunctions.map("partitionKey", PartitionKey.class);
42
43 public Storage(WebDriver driver) {
44 Require.nonNull("WebDriver", driver);
45
46 if (!(driver instanceof HasBiDi)) {
47 throw new IllegalArgumentException("WebDriver instance must support BiDi protocol");
48 }
49
50 this.bidi = ((HasBiDi) driver).getBiDi();
51 }
52
53 public GetCookiesResult getCookies(GetCookiesParameters params) {
54 return this.bidi.send(

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
getBiDiMethod · 0.65

Tested by

no test coverage detected