All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openqa.selenium.devtools.v90.network.model.RequestId Maven / Gradle / Ivy

Go to download

Selenium automates browsers. That's it! What you do with that power is entirely up to you.

There is a newer version: 4.0.0-beta-4
Show newest version
package org.openqa.selenium.devtools.v90.network.model;

import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;

/**
 * Unique request identifier.
 */
public class RequestId {

    private final java.lang.String requestId;

    public RequestId(java.lang.String requestId) {
        this.requestId = java.util.Objects.requireNonNull(requestId, "Missing value for RequestId");
    }

    private static RequestId fromJson(JsonInput input) {
        return new RequestId(input.nextString());
    }

    public String toJson() {
        return requestId.toString();
    }

    public String toString() {
        return requestId.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy