File | Settings | IDE Settings | Web Browsers
Use this dialog box to specify in which Web browsers PyCharm will open HTML files upon request and whether a browser will be launched by running its executable file or through the default system command.
Default web browser
In this section, specify the browser that will be used for rendering external resources and previewing files with Web contents. Also define the browser's behaviour, if the URL address passed to it points at an archive.
|Use system default browser||Select this option to accept your operating system default Web browser as default for PyCharm.|
|Use||Select this option to specify another Web browser as default for PyCharm. Type the path to the executable file of the browser or click the Browse button to select the path in the Select Path to Browser dialog box.|
|Show confirmation before extracting files||Select this check box to have a confirmation dialog box displayed before extracting files, if an archive is referenced.|
|Clear extracted files||Click this button to remove all the previously extracted files from the browser's cache.|
In this section, specify which browsers will be available for previewing HTML output. The page displays all the browsers supported in PyCharm, each browser presented in a separate section. To configure the use of a browser, use the controls in the corresponding section.
You can enable as many browsers as you need.
|Active||Select this check box to enable the use of the respective browser through the icon in the editor or through the
If this check box is not selected, the corresponding browser icon will not appear in the icons toolbar or pop-up menu.
|Default||Click this button to have PyCharm launch the respective browser using the default system command.|
|Click this button to have PyCharm launch the respective browser using its executable file. In the dialog that opens, specify the path to the executable file of the corresponding browser.|
The button is available only in the Firefox and Chrome sections.
In the Firefox Settings dialog box, specify the Firefox browser profile to use for previewing output:
In the Chrome Settings dialog box: