Uses of Class
dev.botcity.framework.web.State
Package
Description
Bot development package.
WebBot development package.
-
Uses of State in dev.botcity.framework.bot
Modifier and TypeMethodDescriptionWebBot.getElementCoords
(String label, double matching) Find an element defined by label on screen and returns its coordinates.WebBot.getElementCoords
(String label, Region region, double matching) Find an element defined by label on screen and returns its coordinates.WebBot.getLastElement()
Return the last element found.Modifier and TypeMethodDescriptionFind all elements defined by label on screen until a timeout happens.WebBot.findAll
(String label, Region region, int threshold, boolean grayscale, double matching, long waitingTime, boolean best) Find all elements defined by label on screen until a timeout happens.WebBot.findAll
(org.marvinproject.framework.image.MarvinImage visualElem, Region region, int threshold, boolean grayscale, double matching, long waitingTime, boolean best) Find all elements defined by label on screen until a timeout happens.WebBot.findMultiple
(List<String> labels, double matching, long waitingTime) Find multiple elements defined by label on screen until a timeout happens.WebBot.findMultiple
(List<String> labels, Region region, int threshold, boolean grayscale, double matching, long waitingTime, boolean best) Find multiple elements defined by label on screen until a timeout happens.Modifier and TypeMethodDescriptionvoid
Left click on the last found element.void
WebBot.rightClick
(State state) Right click on the last found element.void
WebBot.setCurrentElement
(State state) Changes the current screen element the bot will interact when using click(), move(), and similar methods. -
Uses of State in dev.botcity.framework.web
Modifier and TypeMethodDescriptionCVFind.findBestElement
(List<State> elements) Returns the element with the best score.Modifier and TypeMethodDescriptionCVFind.findAllElements
(org.marvinproject.framework.image.MarvinImage visualElement, org.marvinproject.framework.image.MarvinImage screenElement, Region region, double matching, boolean returnFirst) Find all elements in the image.Modifier and TypeMethodDescriptionCVFind.findBestElement
(List<State> elements) Returns the element with the best score.