Adobe Creative Cloud

July 29, 2015 /Test & Inspect /

Preview and Inspect Websites on Actual Devices

Designing responsive sites for today’s multiple screens is just part of the workaday challenge. Viewing and testing the web content on actual devices is another often time-consuming, repetitive—yet totally necessary—struggle. The new Device Preview feature in Dreamweaver CC 2015 eliminates the struggle by providing direct, real-time mirroring to available devices.

How much of a change is this? Here’s my old workflow for previewing my Dreamweaver pages on my iPhone:

  1. Set up a testing server.
  2. Put page and all dependent files and assets on the server.
  3. Open Safari on my phone.
  4. Browse to the testing server web address.
  5. Review page and note biggest problem.
  6. In Dreamweaver, make a change to the CSS to address the issue.
  7. Save the page.
  8. Re-put the files.
  9. Refresh the mobile browser.
  10. Review page again.
  11. If problem not fixed, go to step 6; if it is, move on to next issue and return to step 6.

Here’s my current Dreamweaver CC 2015 workflow:

  1. Open Device Preview.
  2. Connect to phone.
  3. Review page for problems.
  4. Make necessary changes in Dreamweaver.
  5. View updated page on phone
  6. Go to step 4 to make any additional modifications.

With the Device Preview feature (and other enhancements I’ll note in this post), my testing process is literally half as many steps and easily 3 to 4 times as fast as before. What will I do with all this free time? Let me show you how it all works so you can add “too much free time” to your list of complaints.

Connecting to Device Preview

First, you want to make sure that any device you want to work with is on the same network as your main system. Since I routinely set my phone and tablet to use my in-house Wi-Fi, I’m good to go. Next, click the Device Preview icon preview icon, located on the right side of the Dreamweaver status bar to pop-up the interface.



The Device Preview UI is small but packs a lot of power by displaying the two methods for connecting any network-shared screen: QR code or URL.

  • To use the QR code, scan the code with any QR code reader app on your device.
  • To use the URL, enter the web address in your mobile browser or copy and paste it via a synced app such as iOS Notes. Click the file icon to the right of the Device Preview URL to copy the string to the clipboard.

Device Preview relies on an Adobe Creative Cloud service for pairing, so the first time you enable a device you’ll need to log in to your account if you’re not already. Once you’re in, your Dreamweaver page will appear on your device and the Device Preview pop-up displays a list of any connections. Hover over the device name and an informational screen is rendered on the device, showing the user agent (a.k.a. the browser or app) and other info including the extremely useful viewport size, exactly the width and height you’re dealing with.


Inspecting devices

Initially, you’ll want to simply review the web content on your device screen to ensure that all of your responsive changes are as expected. Inevitably, you’ll encounter things that aren’t as they should be. The usual strategy is to hone in on the problem areas as the first step toward identifying which page element needs to be adjusted, either in the source code or CSS. Device Preview makes this process slickly straight-forward by fully mirroring Dreamweaver’s Inspect mode:


  1. In Dreamweaver, click the Inspect Mode icon or choose View > Inspect.
    When you then hover over a page element, the box model parameters (width, border, margin and padding) are outlined in the Document Window.
  2. The same outlines are rendered on the device screen.


Because you can easily see the margin (in orange) and padding (blue), you can quickly assess whether adjusting those values in the CSS will have the desired effect.

Inspect mode is reflected on all connected devices, so you can review the screens concurrently. When you’re ready to focus on one screen, click the Inspect icon adjacent to the specific device listing in the Device Preview UI. This will also have the effect of snapping Dreamweaver’s document window to the same width as the device screen; I’ve found this particularly useful when switching between portrait and landscape orientations.


Previewing modifications

To my mind, actually making changes is where the connectivity now afforded by Device Preview really shines. Any modifications you make on the Dreamweaver side take effect immediately on the connected screen. Let’s look at a couple of examples.

Updating text:

  1. In Dreamweaver, make sure you have saved your source and dependent CSS files and then double-click a text element in Live View to enter into Edit mode.
  2. Make any desired changes, like switching h2 content from “Adventures in repair” to “Adventures in repairing”.
  3. Click outside of the editable area to commit your update.
  4. The modified text is displayed on the connected device.


Changing CSS:

  1. Select an element in Live View to modify.
  2. In the CSS Designer panel, switch to Current mode, if necessary.
  3. With the desired selector chosen, update the CSS properties, such as changing the color of an h3 heading.
  4. Press Enter/Return or click anywhere outside of the property value to confirm the change.
  5. Both Dreamweaver and the device screen render the modified page.


It’s just as easy to work with Device Preview and multiple pages as it is a single page. Simply use the Follow Links choice under Live View Options to either Ctrl/Cmd-click or continuously click any link in your document; once the page is displayed in the document window, it will appear on the screen of any connected devices.

With the robust Device Preview feature in Dreamweaver CC 2015, your responsive pages will be ready for any design challenge, on any size screen.

Test & Inspect

Join the discussion

  • By George Harasimowicz - 2:12 PM on July 31, 2015  

    I used a lot of these tips when I was revamping my iphone repair website

    great read, thanks very much for the tips.