org.openqa.selenium.devtools.css.model.StyleSheetId 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.css.model;
import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;
public class StyleSheetId {
private final java.lang.String styleSheetId;
public StyleSheetId(java.lang.String styleSheetId) {
this.styleSheetId = java.util.Objects.requireNonNull(styleSheetId, "Missing value for StyleSheetId");
}
private static StyleSheetId fromJson(JsonInput input) {
return new StyleSheetId(input.nextString());
}
public String toJson() {
return styleSheetId.toString();
}
public String toString() {
return styleSheetId.toString();
}
}