Nexial Automation

Test Automation Platform for everyone!

X

web » unselectAllText()

Description

  • This command will call the javscript
  • This command will internally execute javascript “ “window.getSelection().removeAllRanges(); which eventually removes all ranges from the selection, leaving the <a href=”https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusNode “Selection.focusNode read-only property returns the Node, in which selection ends.”” class=”external-link” target=”_nexial_link”) and [focusNode</a> properties equal to null and leaving nothing selected.
  • This command does not require any input parameters.

Example