An open API service indexing awesome lists of open source software.

https://github.com/firefox-devtools/bidi-webconsole-prototype


https://github.com/firefox-devtools/bidi-webconsole-prototype

Last synced: 5 months ago
JSON representation

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.