How to save the website link in the current tab?

It is as @newuserkantu says, use csvSave to save the file. Now, to get the HTML code use sourceExtract: sourceExtract HTML mode - #6 by admin

  • sourceExtract |<html*</html>| !csvline
  • csvSave | yourHTMLpage.csv

csvSave saves whatever is in !csvline. The only issue is that the HTML file has now a .csv extension, but that is of course no problem.

Another option:
Use XType to send the CTRL+S and then ENTER keystrokes. This triggers the browser save page dialog.