Unfortunately, Adobe hasn't given us the ability to set F12 to Open In Browser (the old Preview in Browser) using DW's interface, but you can still remap it, if you're comfortable with making a very small change to one of your program files...
1. Close DW and go to...
Windows: C: > Program Files > Adobe > Adobe Dreamweaver CC 2017 > configuration > Menus > MM
Mac: Applications > Adobe Dreamweaver CC 2017 > configuration > Menus > MM
(I think, I don't have a Mac to test)
2. Open the file "PIB_Dynamic.js"
2a. As always, make a backup in case something goes sideways. Add _old at the end of the back-up's file name.
3. Search for the text "dw.browseDocument". There are 3 spots with that code, but the first two are just comments. The right one should be on or about line 433, and change the text "isPIB" to "true"
The finished line of code will look like...
dw.browseDocument(dw.getDocumentPath('document'),theBrowser, "-1"/*help argument*/, false /*use temp doc*/, true);
4. Save the file to your desktop
5. Drag the file into the original location from Step 1. You will be prompted for your Admin credentials in order to make the copy/replacement
From there on out, whatever you have set as your Primary browser will open "the old way" with F12.