Following this question I get a message on the retrieved page that “Your browser does not support JavaScript so some functionality may be missing!“
If I open this page with web(url) in MATLAB web browser and accept certificate (once per session), the page opens properly.
How can I save the page source from the browser with a script? Or from system browser? Or may be there is a way to get that page even without browser?
url='https://cgwb.nci.nih.gov/cgi-bin/hgTracks?position=chr7:55054218-55242525';
From what I could tell the page source gets downloaded just fine, just make sure to let Javascript run when you open the saved page locally.
Note that the solution you are using only downloads the web page without any of the attached stuff (images, .css, .js, etc..).
What you can do is call
wgetto get the page with all of its files:If you are on a Windows machine, you can always get wget from the GnuWin32 project or from one of the many other implementations.