Yesterday Google added two new features to Google Search Console's tools. You can now copy the code in the testing tools and you can also search for words within the code in those tools as well. This works within many of the tools including the AMP Test, Rich Results and URL Inspection tool.
Google announced this on Twitter:
🎈New feature landing in the Search Console URL testing tools (like the AMP Test, Rich Results & URL inspection tool):
— Google Webmasters (@googlewmc) June 24, 2019
1️⃣ Search within the markup 🔎
2️⃣ Copy the code & tweak it! 📝
This makes 🔭 checking the rendered markup and 🛠experimenting with it quicker & easier! 😎 pic.twitter.com/AVe90L5zF2
Here is a closer look at the copy button - you could have selected all and clicked control-C before:
Here is the search feature:
Forum discussion at Twitter.