org.openqa.selenium.devtools.v90.media.model.PlayerId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-devtools-v90 Show documentation
Show all versions of selenium-devtools-v90 Show documentation
Selenium automates browsers. That's it! What you do with that power is entirely up to you.
package org.openqa.selenium.devtools.v90.media.model;
import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;
/**
* Players will get an ID that is unique within the agent context.
*/
public class PlayerId {
private final java.lang.String playerId;
public PlayerId(java.lang.String playerId) {
this.playerId = java.util.Objects.requireNonNull(playerId, "Missing value for PlayerId");
}
private static PlayerId fromJson(JsonInput input) {
return new PlayerId(input.nextString());
}
public String toJson() {
return playerId.toString();
}
public String toString() {
return playerId.toString();
}
}