Chropro
Chrome debugging protocol client for Java
Install / Use
/learn @nla/ChroproREADME
chropro
This library is no longer maintained. Try chrome-devtools-java-client or ChromeDevToolsClient instead.
Java client library for the Chrome Debugging Protocol. The client is code generated from Chromium's JSON protocol description.
See Renderer.java in the included thumbnailer webapp for an example of usage.
Usage with Chrome --headless mode
Download a Linux Chrome snapshot
cd chrome-linux
# Set chrome-sandbox setuid root (alternatively live dangerously with --no-sandbox)
mv chrome_sandbox chrome-sandbox
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox
# Fire up Chrome in headless mode
./chrome --headless --disable-gpu --remote-debugging-port=9292 &
# Run the example webapp
./bin/chropro-webapp
Usage with headless_shell
headless_shell --remote-debugging-port=9292 &
./bin/chropro-webapp
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
