org.openqa.selenium.devtools.domstorage.model.Item Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-devtools Show documentation
Show all versions of selenium-devtools Show documentation
Selenium automates browsers. That's it! What you do with that power is entirely up to you.
package org.openqa.selenium.devtools.domstorage.model;
import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;
/**
* DOM Storage item.
*/
public class Item {
private final java.util.List item;
public Item(java.util.List item) {
this.item = java.util.Objects.requireNonNull(item, "Missing value for Item");
}
private static Item fromJson(JsonInput input) {
return input.read(new com.google.common.reflect.TypeToken>() {
}.getType());
}
public String toString() {
return item.toString();
}
}