Clusteer
Github Repo
  • โšกIntroduction
  • ๐ŸŽ‰Support
  • Getting Started
    • ๐Ÿ†Benchmarks
    • ๐Ÿš€Installation
      • Docker
      • Laravel Sail (Docker)
    • โœจStarting the server
    • ๐Ÿ™ŒBasic example
  • Client commands
    • ๐Ÿ˜Cookies
    • ๐ŸžDebug console
    • ๐Ÿ‘จโ€๐ŸŽจ Screenshot
    • ๐ŸงตRequest metadata
    • โŒšWaiting for requests
  • Actions
    • #๏ธโƒฃ Keyboard commands
    • ๐ŸMouse commands
  • Advanced
    • ๐ŸŽ€Custom Script
    • ๐Ÿ‘ฉโ€๐Ÿš€ Custom Actions
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Advanced

Custom Script

PreviousMouse commandsNext๐Ÿ‘ฉโ€๐Ÿš€ Custom Actions

Last updated 3 years ago

Was this helpful?

The script that is used by the Clusteer server is shown in . You may customize the script parts the way you would like and instead of using the default script, you may pass to the clusteer:serve command the parameter the path to the script to run:

php artisan clusteer:serve --js-file-path="/path/to/server.js"

For vanilla PHP, you can use the jsFilePath() method:

$server->jsFilePath('/path/to/server.js')->configureServer();

๐ŸŽ€
server.js