code: public boolean cut() {
          boolean result = false;
          WebElement element = getActiveElement();
          if (element != null) {
              if (connectedToMac()) {
                  element.sendKeys(Keys.chord(Keys.CONTROL, Keys.INSERT), Keys.BACK_SPACE);
              } else {
                  element.sendKeys(Keys.CONTROL, "x");
              }
              result = true;
          }
          return result;
      }
docs: Simulates 'cut' (e.g. Ctrl+X on Windows) on the active element, copying the current selection to the clipboard
  and removing that selection.
  @return whether an active element was found.