Skip to content

document

Mark Humphreys edited this page Jan 29, 2017 · 1 revision
  AutomationDocument document = applicationWindow.getDocument(0);

  logger.info("Document name is `" + document.name() + "`");
  logger.info("Text is " + document.getText());

  String result = document.getSelection();
  
  logger.info("Selection is " + result);
Clone this wiki locally