Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我正在使用 REPL 测试我的应用程序,并且需要模拟点击 Android 设备的 BackButton。 app.Tap(c=>c.Marked("sendBN")); 使用按钮的 id 非常简单,但我需要准确地点击返回按钮。
app.Tap(c=>c.Marked("sendBN"));
您应该能够只调用app.Back()以模拟用户按下硬件或软件返回键。
app.Back()