2021222324252627
timeout = 5000; } @Test public void testClick() throws Exception { RemoteScreen rs = new RemoteScreen("localhost"); rs.click(psc); }
2627282930313233
rs.click(psc); } @Test public void testFind() throws Exception { RemoteScreen rs = new RemoteScreen("localhost"); rs.find(psc); }
3233343536373839
rs.find(psc); } @Test public void testDoubleClick() throws Exception { RemoteScreen rs = new RemoteScreen("localhost"); rs.doubleClick(psc); }
3839404142434445
rs.doubleClick(psc); } @Test public void testWaitUntil() throws Exception { RemoteScreen rs = new RemoteScreen("localhost"); rs.waitUntil(psc, timeout); }
4445464748495051
rs.waitUntil(psc, timeout); } @Test public void testSetMinSimilarity() throws Exception { RemoteScreen rs = new RemoteScreen("localhost"); rs.setMinSimilarity(0.9); }