public class Browser extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
browse(URI uri) |
static Browser |
chrome(String executable,
InetSocketAddress proxy) |
FileChannel |
screenshot(String uri) |
void |
screenshot(String url,
Path outfile) |
FileChannel |
screenshot(URI uri) |
void |
screenshot(URI uri,
Path outfile) |
public static Browser chrome(String executable, InetSocketAddress proxy)
public void browse(URI uri) throws IOException
IOExceptionpublic void screenshot(URI uri, Path outfile) throws IOException
IOExceptionpublic void screenshot(String url, Path outfile) throws IOException
IOExceptionpublic FileChannel screenshot(URI uri) throws IOException
IOExceptionpublic FileChannel screenshot(String uri) throws IOException
IOExceptionCopyright © 2024. All rights reserved.