mirror of
https://github.com/remorses/playwriter.git
synced 2026-09-14 16:37:40 +08:00
10 lines
250 B
TypeScript
10 lines
250 B
TypeScript
import { startPlayWriterCDPRelayServer } from '../src/cdp-relay.js'
|
|
|
|
async function main() {
|
|
const server = await startPlayWriterCDPRelayServer({ port: 19988 })
|
|
|
|
console.log('Server running. Press Ctrl+C to stop.')
|
|
}
|
|
|
|
main().catch(console.error)
|