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

org.openqa.selenium.devtools.v121.schema.Schema 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.19.1
Show newest version
package org.openqa.selenium.devtools.v121.schema;

import org.openqa.selenium.Beta;
import org.openqa.selenium.devtools.Command;
import org.openqa.selenium.devtools.Event;
import org.openqa.selenium.devtools.ConverterFunctions;
import java.util.Map;
import java.util.LinkedHashMap;
import org.openqa.selenium.json.JsonInput;

/**
 * This domain is deprecated.
 */
@Deprecated()
public class Schema {

    /**
     * Returns supported domains.
     */
    public static Command> getDomains() {
        LinkedHashMap params = new LinkedHashMap<>();
        return new Command<>("Schema.getDomains", Map.copyOf(params), ConverterFunctions.map("domains", input -> input.readArray(org.openqa.selenium.devtools.v121.schema.model.Domain.class)));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy