Files
2026-09-13 21:55:56 +00:00

429 lines
31 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Google Analytics tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DKHZS27PHP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());
gtag("config", "G-DKHZS27PHP");
</script>
<!-- Generated by javadoc (26) -->
<title>BaseComputer (Google Agent Development Kit Maven Parent POM 1.7.0 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.google.adk.tools.computeruse, interface: BaseComputer">
<meta name="generator" content="javadoc/ClassWriter">
<link rel="stylesheet" type="text/css" href="../../../../../resource-files/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="../../../../../resource-files/stylesheet.css">
<script type="text/javascript" src="../../../../../script-files/script.js"></script>
<script type="text/javascript" src="../../../../../script-files/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../../../script-files/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">const pathtoroot = "../../../../../";
loadScripts();
initTheme();
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="nav-content">
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span></button></div>
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/BaseComputer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../search.html">Search</a></li>
<li><button id="theme-button" aria-label="Select Theme" title="Select Theme"></button></li>
</ul>
<div id="theme-panel">
<div>Select Theme</div>
<div><label for="theme-light"><input type="radio" id="theme-light" disabled name="theme" value="theme-light"><span>Light</span></label><label for="theme-dark"><input type="radio" id="theme-dark" disabled name="theme" value="theme-dark"><span>Dark</span></label><label for="theme-os"><input type="radio" id="theme-os" disabled name="theme" value="theme-os"><span>System Setting</span></label></div>
</div>
</div>
</div>
<div class="sub-nav">
<div class="nav-content">
<ol class="sub-nav-list">
<li><a href="package-summary.html">com.google.adk.tools.computeruse</a></li>
<li><a href="BaseComputer.html" class="current-selection">BaseComputer</a></li>
</ol>
<div class="nav-list-search"><input type="text" id="search-input" disabled placeholder="Search documentation (type /)" aria-label="Search in documentation" autocomplete="off" spellcheck="false"><input type="reset" id="reset-search" disabled value="Reset"></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="main-grid">
<nav role="navigation" class="toc" aria-label="Table of contents">
<div class="toc-header">Contents&nbsp;<input type="text" class="filter-input" disabled placeholder="Filter contents (type .)" aria-label="Filter table of contents" autocomplete="off" spellcheck="false"><input type="reset" class="reset-filter" disabled tabindex="-1" value="Reset">&nbsp;<button class="toc-sort-toggle" id="toc-lexical-order-toggle"><img src="../../../../../resource-files/sort-a-z.svg" alt="Sort member details in lexicographical order"></button></div>
<ol class="toc-list" tabindex="-1">
<li><a href="#" tabindex="0">Description</a></li>
<li><a href="#method-summary" tabindex="0">Method Summary</a></li>
<li><a href="#method-detail" tabindex="0">Method Details</a>
<ol class="toc-list">
<li><a href="#screenSize()" tabindex="0">screenSize()</a></li>
<li><a href="#openWebBrowser()" tabindex="0">openWebBrowser()</a></li>
<li><a href="#clickAt(int,int)" tabindex="0">clickAt(int, int)</a></li>
<li><a href="#hoverAt(int,int)" tabindex="0">hoverAt(int, int)</a></li>
<li><a href="#typeTextAt(int,int,java.lang.String,java.lang.Boolean,java.lang.Boolean)" tabindex="0">typeTextAt(int, int, String, Boolean, Boolean)</a></li>
<li><a href="#scrollDocument(java.lang.String)" tabindex="0">scrollDocument(String)</a></li>
<li><a href="#scrollAt(int,int,java.lang.String,int)" tabindex="0">scrollAt(int, int, String, int)</a></li>
<li><a href="#wait(java.time.Duration)" tabindex="0">wait(Duration)</a></li>
<li><a href="#goBack()" tabindex="0">goBack()</a></li>
<li><a href="#goForward()" tabindex="0">goForward()</a></li>
<li><a href="#search()" tabindex="0">search()</a></li>
<li><a href="#navigate(java.lang.String)" tabindex="0">navigate(String)</a></li>
<li><a href="#keyCombination(java.util.List)" tabindex="0">keyCombination(List)</a></li>
<li><a href="#dragAndDrop(int,int,int,int)" tabindex="0">dragAndDrop(int, int, int, int)</a></li>
<li><a href="#currentState()" tabindex="0">currentState()</a></li>
<li><a href="#initialize()" tabindex="0">initialize()</a></li>
<li><a href="#close()" tabindex="0">close()</a></li>
<li><a href="#environment()" tabindex="0">environment()</a></li>
</ol>
</li>
</ol>
<button class="hide-sidebar"><span>Hide sidebar&nbsp;</span><img src="../../../../../resource-files/left.svg" alt="Hide sidebar"></button><button class="show-sidebar"><img src="../../../../../resource-files/right.svg" alt="Show sidebar"><span>&nbsp;Show sidebar</span></button></nav>
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<h1 title="Interface BaseComputer" class="title">Interface BaseComputer</h1>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="horizontal-scroll">
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">BaseComputer</span></div>
<div class="block">Defines an interface for computer environments.
<p>This interface defines the standard methods for controlling computer environments, including
web browsers and other interactive systems.</div>
</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#clickAt(int,int)" class="member-name-link">clickAt</a><wbr>(int&nbsp;x,
int&nbsp;y)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Clicks at a specific x, y coordinate on the webpage.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Completable</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#close()" class="member-name-link">close</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Cleanup resources.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#currentState()" class="member-name-link">currentState</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns current state.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dragAndDrop(int,int,int,int)" class="member-name-link">dragAndDrop</a><wbr>(int&nbsp;x,
int&nbsp;y,
int&nbsp;destinationX,
int&nbsp;destinationY)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Drag and drop.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerEnvironment.html" title="enum class in com.google.adk.tools.computeruse">ComputerEnvironment</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#environment()" class="member-name-link">environment</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the environment.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#goBack()" class="member-name-link">goBack</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Navigates back.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#goForward()" class="member-name-link">goForward</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Navigates forward.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hoverAt(int,int)" class="member-name-link">hoverAt</a><wbr>(int&nbsp;x,
int&nbsp;y)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Hovers at a specific x, y coordinate on the webpage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Completable</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#initialize()" class="member-name-link">initialize</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Initialize the computer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#keyCombination(java.util.List)" class="member-name-link">keyCombination</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&gt;&nbsp;keys)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Presses key combination.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#navigate(java.lang.String)" class="member-name-link">navigate</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;url)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Navigates to URL.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#openWebBrowser()" class="member-name-link">openWebBrowser</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Opens the web browser.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;int[]&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#screenSize()" class="member-name-link">screenSize</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the screen size of the environment.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#scrollAt(int,int,java.lang.String,int)" class="member-name-link">scrollAt</a><wbr>(int&nbsp;x,
int&nbsp;y,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;direction,
int&nbsp;magnitude)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Scrolls at a specific x, y coordinate by magnitude.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#scrollDocument(java.lang.String)" class="member-name-link">scrollDocument</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;direction)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Scrolls the entire webpage in a direction.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#search()" class="member-name-link">search</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Jumps to search.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#typeTextAt(int,int,java.lang.String,java.lang.Boolean,java.lang.Boolean)" class="member-name-link">typeTextAt</a><wbr>(int&nbsp;x,
int&nbsp;y,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;text,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class in java.lang" class="external-link">Boolean</a>&nbsp;pressEnter,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class in java.lang" class="external-link">Boolean</a>&nbsp;clearBeforeTyping)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Types text at a specific x, y coordinate.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>io.reactivex.rxjava3.core.Single<wbr>&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#wait(java.time.Duration)" class="member-name-link">wait</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class in java.time" class="external-link">Duration</a>&nbsp;duration)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Waits for specified duration.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="screenSize()">
<h3>screenSize</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;int[]&gt;</span>&nbsp;<span class="element-name">screenSize</span>()</div>
<div class="block">Returns the screen size of the environment.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="openWebBrowser()">
<h3>openWebBrowser</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">openWebBrowser</span>()</div>
<div class="block">Opens the web browser.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="clickAt(int,int)">
<h3>clickAt</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">clickAt</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y)</span></div>
<div class="block">Clicks at a specific x, y coordinate on the webpage.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="hoverAt(int,int)">
<h3>hoverAt</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">hoverAt</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y)</span></div>
<div class="block">Hovers at a specific x, y coordinate on the webpage.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="typeTextAt(int,int,java.lang.String,java.lang.Boolean,java.lang.Boolean)">
<h3>typeTextAt</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">typeTextAt</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;text,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class in java.lang" class="external-link">Boolean</a>&nbsp;pressEnter,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class in java.lang" class="external-link">Boolean</a>&nbsp;clearBeforeTyping)</span></div>
<div class="block">Types text at a specific x, y coordinate.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="scrollDocument(java.lang.String)">
<h3>scrollDocument</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">scrollDocument</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;direction)</span></div>
<div class="block">Scrolls the entire webpage in a direction.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="scrollAt(int,int,java.lang.String,int)">
<h3>scrollAt</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">scrollAt</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;direction,
int&nbsp;magnitude)</span></div>
<div class="block">Scrolls at a specific x, y coordinate by magnitude.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="wait(java.time.Duration)">
<h3>wait</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">wait</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class in java.time" class="external-link">Duration</a>&nbsp;duration)</span></div>
<div class="block">Waits for specified duration.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="goBack()">
<h3>goBack</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">goBack</span>()</div>
<div class="block">Navigates back.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="goForward()">
<h3>goForward</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">goForward</span>()</div>
<div class="block">Navigates forward.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="search()">
<h3>search</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">search</span>()</div>
<div class="block">Jumps to search.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="navigate(java.lang.String)">
<h3>navigate</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">navigate</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&nbsp;url)</span></div>
<div class="block">Navigates to URL.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="keyCombination(java.util.List)">
<h3>keyCombination</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">keyCombination</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a>&gt;&nbsp;keys)</span></div>
<div class="block">Presses key combination.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="dragAndDrop(int,int,int,int)">
<h3>dragAndDrop</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">dragAndDrop</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y,
int&nbsp;destinationX,
int&nbsp;destinationY)</span></div>
<div class="block">Drag and drop.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="currentState()">
<h3>currentState</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerState.html" title="class in com.google.adk.tools.computeruse">ComputerState</a>&gt;</span>&nbsp;<span class="element-name">currentState</span>()</div>
<div class="block">Returns current state.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="initialize()">
<h3>initialize</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Completable</span>&nbsp;<span class="element-name">initialize</span>()</div>
<div class="block">Initialize the computer.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="close()">
<h3>close</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Completable</span>&nbsp;<span class="element-name">close</span>()</div>
<div class="block">Cleanup resources.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="environment()">
<h3>environment</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">io.reactivex.rxjava3.core.Single&lt;<a href="ComputerEnvironment.html" title="enum class in com.google.adk.tools.computeruse">ComputerEnvironment</a>&gt;</span>&nbsp;<span class="element-name">environment</span>()</div>
<div class="block">Returns the environment.</div>
</div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
<footer>
<hr>
<p class="legal-copy"><small>Copyright &#169; 1980. All rights reserved.</small></p>
</footer>
</main>
</div>
</body>
</html>