GitHub - firefox-devtools/bidi-webconsole-prototype
source link: https://github.com/firefox-devtools/bidi-webconsole-prototype
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
After running the UI, follow the instructions on the screen on how to run a Firefox instance and click Connect
.
See more video instructions
How to develop
This project was bootstrapped with 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 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK