翻篇收录说明
翻篇网页快照

Chrome DevTools | Chrome for Developers

https://developer.chrome.com/docs/devtools/ai-assistance

最近抓取:2026-12-03 03:43:34(北京时间)

最近内容变化:2026-11-29 20:10:59(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Discover and explore latest news about and use cases for AI assistance in DevTools

正文摘录

Home Docs Chrome DevTools AI assistance AI assistance Supercharge your development workflow with Gemini integrated directly into Chrome DevTools. Streamline debugging with AI assistance for styling, performance, network and sources. Try it now Run first prompts Get the feeling of Gemini in Chrome DevTools by running the example prompts in the interactive tutorial below. Fix styling bugs Styling issues can be difficult to debug. Get a detailed explanation of your element's styles and get help in fixing layout and styling bugs: Can you center this element? Learn more Analyze network requests Request and response headers often contain important information not obvious at a glance. Use AI assistance to dig in: Why does this request fail? Learn more Understand source files It's rare you wrote all the code on your website - not sure what a certain script is used for? AI assistance can help: What is this file used for? Learn more Investigate page performance Poor core web vitals? Finding the root cause for a sluggish website can be difficult. AI assistance can investigate and propose solutions for you: Help me optimize my LCP score Learn more Hangar Try AI-powered styling fixes to transform a static plane into a soaring marvel - while making sure safety measures are taken! Explore demo Overflow Will you conquer the scrollbar of doom with AI assistance, or will a diving team forever be trapped in a layout nightmare? Explore demo Fix aspect-ratio of an image Make all teaser images always be 16:9 One of the images is not cropped the same way as the others? Open chrome.dev/cinemai/devtools/ page and open DevTools. Find and select the Learn more by watching section. Click AI assistance icon. Prompt: Make all teaser images always be 16:9. Click Apply the suggested change and continue. The button should be centered. Fix an overflow issue How can I make this element visible? Element is not visible? Open chrome.dev/cinemai/devtools/ page and open DevTools. Find a scuba diver img element. Click AI assistance icon. Prompt: How can I make this element visible without scrollbars?. Click Apply the suggested change and continue. The diver should be visible on the screen. Demistify headers Are there any security headers present? To learn more about security headers of a given resource... Open chrome.dev/cinemai/devtools/ page and open DevTools. In Network panel, select thev4-chrome.dev.js requests. Click AI assistance icon. Prompt: Are there any security headers present? The LLM will explain headers related to security on the resource. Create bug reports Write a detailed bug report for this network error, include title, summary, steps to reproduce and expected vs. actual results. Something went wrong? Quickly create a detailed bug report. Open open DevTools for a web page with a network error. In the Network panel, select the failing request. Click AI assistance icon. Prompt: Write a detailed bug report for this network error, include title, summary, steps to reproduce and expected vs. actual results. The LLM will generate a bug report that you can directly copy into your issue tracker. Al-assisted debugging - DevToolTips Explore the power of Al-assisted debugging with Chrome DevTools! What's new in DevTools 130-132 Explore the Network Panel features, Baseline & CSS updates and AI innovations in Chrome 139-141 with Matthias! Requirements Make sure you're using the latest Chrome and are signed in. You need to be at least 18 years old and in one of the supported locations. Check out the requirements Opt-in AI assistance is disabled by default. To enable, go the Settings > AI assistance section. You need to agree to Google Terms of Service to be able to use AI assistance. Enable AI innovations Data An Enterprise policy can be used to control whether or not the data shared with Gemini is logged and used for training Learn how your data is used Help us get better! This feature is experimental and subject to future changes. It may generate inaccurate or offensive information that doesn't represent Google's views. Vote on the responses to help us improve it and keep the feedback coming! Share feedback