https://github.com/firefox-devtools/bidi-webconsole-prototype
https://github.com/firefox-devtools/bidi-webconsole-prototype
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/firefox-devtools/bidi-webconsole-prototype
- Owner: firefox-devtools
- License: mpl-2.0
- Created: 2022-09-26T16:19:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T09:28:43.000Z (over 1 year ago)
- Last Synced: 2025-07-13T21:51:58.237Z (6 months ago)
- Language: CSS
- Homepage: https://firefox-dev.tools/bidi-webconsole-prototype/
- Size: 10.4 MB
- Stars: 10
- Watchers: 5
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BiDi WebConsole Prototype
A simple webconsole UI relying on WebDriver BiDi events and commands.\
A user can connect the webconsole to a Firefox instance, see the console events and execute the javascript, similar to a browser console.
[Demo](https://firefox-dev.tools/bidi-webconsole-prototype/)\
After running the UI, follow the instructions on the screen on how to run a Firefox instance and click `Connect`.

How to connect to Chrome:
- clone [chromium-bidi package](https://github.com/GoogleChromeLabs/chromium-bidi)
- run `npm install`
- run `npm run server -- --headless=false` or `./runBiDiServer.sh --headless=false`
- connect to it with the client

See more video instructions
Filtering the console messages and evaluating code in the different contexts
Evaluating the code with different data types
## How to develop
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
### Available Scripts
In the project directory, you can run:
#### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
#### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
## Deployment
The project is automatically built and deployed to Github pages when changes are pushed to the main branch.\
See the Demo above.