✨ Features: - App iOS completa para leer manga sin publicidad - Scraper con WKWebView para manhwaweb.com - Sistema de descargas offline - Lector con zoom y navegación - Favoritos y progreso de lectura - Compatible con iOS 15+ y Sideloadly/3uTools 📦 Contenido: - Backend Node.js con Puppeteer (opcional) - App iOS con SwiftUI - Scraper de capítulos e imágenes - Sistema de almacenamiento local - Testing completo - Documentación exhaustiva 🧪 Prueba: Capítulo 789 de One Piece descargado exitosamente - 21 páginas descargadas - 4.68 MB total - URLs verificadas y funcionales 🎉 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# webdriver-bidi-protocol
|
|
|
|
This repository contains TypeScript types conforming to the [WebDriver
|
|
BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also
|
|
supports WebDriver BiDi extension modules defined in other
|
|
specifications:
|
|
|
|
- [Permissions](https://w3c.github.io/permissions/#automation-webdriver-bidi)
|
|
- [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/#automated-testing)
|
|
|
|
## Installation
|
|
|
|
```
|
|
npm install webdriver-bidi-protocol
|
|
```
|
|
|
|
## Usage
|
|
|
|
In your TypeScript client implementation, you can now import WebDriver
|
|
BiDi types:
|
|
|
|
```ts
|
|
import {Commands} from 'webdriver-bidi-protocol';
|
|
|
|
async function sendCommand<T extends keyof Commands>(
|
|
method: T,
|
|
params: Commands[T]['params']
|
|
): {result: Commands[T]['returnType']} {
|
|
// Implementation for sending the data using WebSockets.
|
|
}
|
|
|
|
// Now TypeScript validates that the params match the spec for 'browsingContext.print'.
|
|
await sendCommand('browsingContext.print', {context: 'xxx'});
|
|
```
|
|
|
|
## Versioning
|
|
|
|
This package patch version will be incremented whenever there are
|
|
specification updates.
|