Skip to content

Instantly share code, notes, and snippets.

@doubleshow
Last active August 29, 2015 14:05
Show Gist options
  • Save doubleshow/df7b503bae855f838e85 to your computer and use it in GitHub Desktop.
Save doubleshow/df7b503bae855f838e85 to your computer and use it in GitHub Desktop.
package org.sikuli.slides.driver.examples.googleplay;
import java.net.MalformedURLException;
import java.net.URL;
import org.sikuli.api.API;
import org.sikuli.slides.driver.WidgetSlideFactory;
import org.sikuli.slides.driver.Widget;
import org.sikuli.slides.driver.annotations.WidgetSlide;
public class MenuExample {
@WidgetSlide(url = "http://slides.sikuli.org/examples/driver/googleplay/menu.pptx")
public static class Menu {
public Widget apps;
public Widget movies;
public Widget music;
public Widget books;
}
public static void main(String[] arg) throws MalformedURLException {
API.browse(new URL("http://slides.sikuli.org/examples/driver/googleplay/"));
API.pause(1000);
Menu menu = WidgetSlideFactory.create(Menu.class);
menu.apps.click();
menu.movies.click();
menu.music.click();
menu.books.click();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment