Description from extension meta
Command Shì'Bì maid to automate the browser from any webpage with JSON, which compatible with Chrome DevTools Recorder recordings.
Image from store
Description from store
This extension is open-source and free. For more information, please visit: https://shi.bi
Function Overview
The core function of the Shi.Bi extension is to run Shi.Bi JSON. Shi.Bi JSON is a JSON format that describes the steps a user takes on a web page. It can be used for automated testing, web page interaction, and many other scenarios. Shi.Bi JSON is a compatible superset of @puppeteer/replay JSON, which means you can use Shi.Bi JSON to describe more complex interaction scenarios.
How to Use
The Shi.Bi extension provides the following three ways to use it:
1. Open shi.bi.svg, then click the shi.bi button in the upper right corner.
2. Drag and drop shi.bi.svg into the Shi.Bi extension's popup window, and then click the Run button to run the Parsed shibi JSON.
3. Directly enter shibi JSON in the Shi.Bi extension's popup window and click the Run button.
4. Open Chrome DevTools on any page and run similar code:
```
await chrome.runtime.sendMessage(
await (await fetch("https://shi.bi/id";)).text(), // Extension ID, handwritten or obtained via https://shi.bi/id.
{
type: 0, // 0 for run Shi.Bi json
payload: { // Shi.Bi json content
title: 'Shi.Bi test',
steps: [
{
type: "navigate",
url: "https://shi.bi";
},
{
type: "returnElement",
selectors: ["#responsive-meta-container"],
waitForElement: true,
}
]
}
}
);
```
These methods allow you to call the functions of the Shi.Bi extension through JavaScript code on any page. You only need to run the above code in Chrome DevTools, and the Shi.Bi extension will receive the message and execute the corresponding operations.
Precautions
Before using the Shi.Bi extension, please make sure that you have installed the extension and allowed it to access the current page.
The syntax of Shi.Bi JSON is similar to @puppeteer/replay JSON, but there are some differences. Please refer to the official documentation of the Shi.Bi extension for more information about Shi.Bi JSON.
If you encounter any problems while using the Shi.Bi extension, please feel free to give us feedback.