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

org.openqa.selenium.devtools.v128.filesystem.FileSystem Maven / Gradle / Ivy

Go to download

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

The newest version!
package org.openqa.selenium.devtools.v128.filesystem;

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;

@Beta()
public class FileSystem {

    public static Command getDirectory(org.openqa.selenium.devtools.v128.filesystem.model.BucketFileSystemLocator bucketFileSystemLocator) {
        java.util.Objects.requireNonNull(bucketFileSystemLocator, "bucketFileSystemLocator is required");
        LinkedHashMap params = new LinkedHashMap<>();
        params.put("bucketFileSystemLocator", bucketFileSystemLocator);
        return new Command<>("FileSystem.getDirectory", Map.copyOf(params), ConverterFunctions.map("directory", org.openqa.selenium.devtools.v128.filesystem.model.Directory.class));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy