Class SelenideCli

java.lang.Object
com.codeborne.selenide.cli.SelenideCli

public final class SelenideCli extends Object
Command-line entry point for Selenide — a stateless, per-invocation CLI over a background daemon.

selenide open <url> starts (or reuses) a browser daemon for the session; subsequent invocations like selenide click "#submit" run one command against that daemon. Each successful command is recorded, and selenide code prints the generated Selenide Java. Use -s <name> / --session <name> to run isolated sessions concurrently.

  • Method Details

    • main

      public static void main(String[] args)
    • run

      public static int run(List<String> args, PrintStream out, PrintStream err)
    • commandNames

      public static Set<String> commandNames()
      The set of commands this CLI understands (lower-case). Exposed for the MCP/CLI parity test so it can verify both front-ends cover the shared browser-action catalog.