I am able to open an html file using the code
import webbrowser
webbrowser.open_new_tab('file:///C:/filename.html')
The issue I am facing is opening the same html file but with a hyperlink.
webbrowser.open_new_tab('file:///C:/filename.html#hyperlinkId')
This opens the file in the browser tab but does not move to the hyperlink as required.
Kindly let me know if I am missed anything. Thanks in advance.