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

org.openqa.selenium.devtools.v90.network.model.InterceptionId 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 intercepted request identifier.
 */
public class InterceptionId {

    private final java.lang.String interceptionId;

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy