MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / build

Method build

java/src/org/openqa/selenium/interactions/Actions.java:568–572  ·  view source on GitHub ↗

Generates a composite action containing all actions so far, ready to be performed (and resets the internal builder state, so subsequent calls to this method will contain fresh sequences). Warning : you may want to call #perform() instead to actually perform the actions. @return th

()

Source from the content-addressed store, hash-verified

566 * @return the composite action
567 */
568 public Action build() {
569 Action toReturn = new BuiltAction(driver, new LinkedHashMap<>(sequences));
570 sequences.clear();
571 return toReturn;
572 }
573
574 /** A convenience method for performing the actions without calling build() first. */
575 public void perform() {

Callers 1

performMethod · 0.95

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected