This function allows to skip the built-in 'Warn user about leaving the page' popup message. Can be useful when you modify some values on the page programmatically but don't want this popup to show unless user makes changes manually.
Syntax
setPageModified( modified );
Arguments
modified
boolean. Use false to skip 'Warn user about leaving the page' popup message.
Return value
No return value.
Example
pageObj.setPageModified( false );
See also:
•JavaScript API: RunnerPage object