Simple and complete DOM testing playground that encourage good testing practices.

Latest Version

Version
1.16.3
Update
May 31, 2021
Size
646KiB
Developer
Category
Users
40,000+
Rating
4.31667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ClipboardWrite
See more

Testing Playground Extension

Adds Testing-Playground to the Chrome Developer Tools.

Testing Playground is an extension that helps you find the best queries to select elements for the open-source Testing-Library family. It allows you to inspect the element hierarchies in the Chrome Developer Tools, and provides you with suggestions on how to select them, while encouraging good testing practices.

You will get two new tabs in your Chrome DevTools: \"🐸 Testing Playground\" as a tab, and as a side panel under the \"Elements\" tab.

By selecting one of the elements on the page, you can inspect the different queries that can be used to select the element in your tests, and get feedback that tells you when and why there are better queries available.

If you inspect an element on the page using the regular Elements tab, then switch over to the Testing Playground tab, that element will be automatically selected.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Testing Playground", "description": "Simple and complete DOM testing playground that encourage good testing practices.", "version": "1.16.0", "version_name": "1.16.3", "minimum_chrome_version": "49", "icons": { "16": "icons/16-production.png", "32": "icons/32-production.png", "48": "icons/48-production.png", "128": "icons/128-production.png" }, "browser_action": { "default_icon": { "16": "icons/16-production.png", "32": "icons/32-production.png", "48": "icons/48-production.png", "128": "icons/128-production.png" } }, "web_accessible_resources": ["window/testing-library.js"], "devtools_page": "devtools/main.html", "content_security_policy": "script-src 'self' 'unsafe-eval' 'sha256-6UcmjVDygSSU8p+3s7E7Kz8EG/ARhPADPRUm9P90HLM='; object-src 'self'", "background": { "scripts": ["background/background.js"], "persistent": false }, "permissions": ["clipboardWrite"], "content_scripts": [ { "matches": [""], "js": ["content-script/contentScript.js"], "run_at": "document_start" } ]}
Read more

How to download and manually install Testing Playground extension for Chrome

Looking for a way to install Testing Playground extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Testing Playground extensions manually, this article outlines two simple methods to effortlessly install Testing Playground extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Testing Playground extension and manually install through Drag &Drop

If you ever need to manually install a Testing Playground extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Testing Playground Extension by clicking the "Download CRX" button on the website.

Look for the Testing Playground extension you wish to install. Go to the website and download the Testing Playground extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Testing Playground extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Testing Playground extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Testing Playground extension for Chrome and install in Developer Mode

This is another method to install Testing Playground extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Testing Playground extension file

Select and download the Testing Playground extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Testing Playground extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Testing Playground extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Testing Playground extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Testing Playground extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Testing Library: which query Extension · Developer Tools 40,000+ 4 ★ 1.26MiB

icon

Cypress Recorder Extension · Developer Tools 40,000+ 10 ★ 202KiB

icon

React Developer Tools Extension · Developer Tools 40,000+ 1576 ★ 1.56MiB

icon

React Context DevTool Extension · Developer Tools 40,000+ 21 ★ 2.35MiB

icon

VisBug Extension · Developer Tools 40,000+ 252 ★ 5.38MiB

icon

Testing Library Recorder Extension · Developer Tools 40,000+ 1 ★ 13.19KiB

icon

Web Vitals Extension · Developer Tools 40,000+ 43 ★ 398KiB

icon

LocatorJS Extension · Developer Tools 40,000+ 64 ★ 190KiB

icon

Reactime Extension · Developer Tools 40,000+ 33 ★ 803KiB

icon

Redux DevTools Extension · Developer Tools 40,000+ 726 ★ 1.2MiB

icon

daily.dev | The homepage developers deserve Extension · Developer Tools 40,000+ 2460 ★ 2.28MiB

icon

GraphQL Network Inspector Extension · Developer Tools 40,000+ 123 ★ 8.34MiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 40,000+ 114 ★ 2.89MiB

icon

CSS Stacking Context inspector Extension · Developer Tools 40,000+ 21 ★ 262KiB

icon

Allow CORS: Access-Control-Allow-Origin Extension · Productivity 40,000+ 279 ★ 78.31KiB

icon

Apollo Client Devtools Extension · Developer Tools 40,000+ 266 ★ 490KiB

icon

Mokku Extension · Developer Tools 40,000+ 76 ★ 3.28MiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 40,000+ 190 ★ 3.22MiB

icon

React Performance Devtool Extension · Developer Tools 40,000+ 11 ★ 170KiB

icon

MobX Developer Tools Extension · Developer Tools 40,000+ 51 ★ 682KiB

icon

GraphQL developer tools Extension · Developer Tools 40,000+ 24 ★ 98.19KiB

icon

Immutable.js Object Formatter Extension · Developer Tools 40,000+ 33 ★ 43.46KiB

icon

CORS Unblock Extension · Developer Tools 40,000+ 162 ★ 203KiB

icon

Accessibility Insights for Web Extension · Developer Tools 40,000+ 37 ★ 3.62MiB

User reviews

icon

Robin Mayfield (ID: 0000000d86e12762) Voted 5 ★ - Updated 10/30/2023 Invaluable. Playwright and others include similar tools, but to have this in the browser is wonderful ;x

icon

Robbert van Markus (ID: 00000009df1805bd) Voted 5 ★ - Updated 10/16/2023 Great

icon

Vamshi Saggurthi (ID: 000000bf44b39ceb) Voted 5 ★ - Updated 07/25/2023 very useful especially in react and jest

icon

Sam Prince (ID: 1c9d88fe1ba5e151) Voted 4 ★ - Updated 07/17/2023 Not bad, but quite often comes up with no suggestion for how to select a form field. Playwright always seems to manage something, however "inelegant" it might be, so it's a shame this extension just gives up when a limited set of options have been exhausted. I would rather it suggested a selector which was bad and issued a warning to that effect.

icon

Sam Kendrick (ID: 0000009f4345ac14) Voted 5 ★ - Updated 06/07/2023 Oh good, I don't have to make this extension for myself. Thank you and 1M points to you.