io.appium.java_client.serverevents.ServerEvents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client for Appium Mobile Webdriver
package io.appium.java_client.serverevents;
import lombok.Data;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
@Data
public class ServerEvents {
public final List commands;
public final List events;
public final String jsonData;
public void save(Path output) throws IOException {
Files.write(output, this.jsonData.getBytes());
}
}