Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

To inspect an element in Firefox, right-click anywhere on the page and choose Inspect, or press F12 (also Ctrl + Shift + I on Windows and Linux, or Cmd + Option + I on Mac). This opens the Firefox DevTools with the Inspector tab selected. To go straight into pick-an-element mode, press Ctrl + Shift + C (Windows and Linux) or Cmd + Option + C (Mac). Once the Inspector is open, hover to highlight any node and click it to view and edit its HTML and CSS live.
Inspecting an element opens the Firefox DevTools Page Inspector, which exposes the live DOM and the styles applied to it. Unlike viewing page source, which shows the raw HTML the server sent, the Inspector shows the current, rendered DOM after JavaScript has run, so it reflects exactly what the browser is displaying right now.
The Firefox Inspector is split into the HTML pane on the left and several style panels on the right, including Rules, Computed, and Layout. You can edit markup and CSS in place to debug spacing, colors, fonts, and responsiveness without touching your source files. Edits are temporary and disappear on reload, which makes the Inspector a safe place to experiment.
This is the fastest way to jump directly to a specific element on the page.
Shortcuts are the quickest route when your hands are already on the keyboard:
The picker (Ctrl + Shift + C) is handy when you want to choose an element visually instead of right-clicking it, and it works even on hover-only menus if you freeze them first.
Use this route when you prefer the mouse or when a right-click is intercepted by the page.
These are the shortcuts you will reach for most while inspecting elements in Firefox.
| Action | Windows / Linux | Mac |
|---|---|---|
| Toggle DevTools / Inspector | F12 or Ctrl + Shift + I | Cmd + Option + I |
| Element picker (Inspect) | Ctrl + Shift + C | Cmd + Option + C |
| Responsive Design Mode | Ctrl + Shift + M | Cmd + Option + M |
| Style Editor | Shift + F7 | Shift + F7 |
| JavaScript Console | Ctrl + Shift + K | Cmd + Option + K |
Once the Inspector is open, the real work begins. Here is what each part does and how to use it.
Firefox lets you inspect a page that is running on a real Android device using remote debugging over USB. This is useful when a layout breaks only on mobile.
When you need to confirm a fix across many Firefox versions and operating systems without keeping local installs, you can open Firefox on real browsers and devices in the cloud and inspect elements live with Live Interactive Cross Browser Testing, which runs the same DevTools-style inspection from your browser.
Press F12 or Ctrl + Shift + I on Windows and Linux, or Cmd + Option + I on Mac, to open the DevTools with the Inspector tab active. To jump straight into element-picker mode, use Ctrl + Shift + C on Windows and Linux or Cmd + Option + C on Mac.
Developer tools may be disabled by an enterprise policy, or you right-clicked an element that shows its own context menu, such as an embedded player or a custom JavaScript menu. Open the Inspector from the hamburger menu under More Tools and then Web Developer Tools, or simply press F12 instead.
Select a node in the HTML pane, then double-click it or right-click and choose Edit As HTML to change the markup. To change styles, click any value in the Rules panel and type a new one, toggle a declaration with its checkbox, or use Add new rule. Changes apply live and reset when you reload the page.
Rules shows the editable CSS declarations that apply to the selected element and where each one comes from. Computed shows the final resolved value of every property after the cascade. Layout shows the box model plus Flexbox and Grid overlays so you can see spacing and alignment visually.
Enable USB debugging on the Android device and Remote debugging via USB in Firefox for Android, connect the phone over USB, then open about:debugging in desktop Firefox, select the connected device, and click Inspect next to the tab you want to debug.
Open Responsive Design Mode with Ctrl + Shift + M on Windows and Linux or Cmd + Option + M on Mac. It lets you switch device sizes, change the device pixel ratio, throttle the network, and simulate touch while the Inspector stays open for editing.
KaneAI - Testing Assistant
World’s first AI-Native E2E testing agent.

TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance