Platform Issues

Platform-specific troubleshooting for Windows, macOS, and Linux

Platform Issues

macOS

ProblemFix
Gatekeeper blocks binarySecurity & Privacy → Allow Anyway, or xattr -d com.apple.quarantine ./tkit
Apple Silicon crashDownload darwin-arm64 build, not Intel
Chrome not foundInstall Chrome/Edge in /Applications/

Windows

ProblemFix
SmartScreen warningMore info → Run anyway, or Properties → Unblock
Antivirus quarantineAdd exclusion for tkit.exe and project folder
Path too longMove project to shorter path (e.g. C:\tests\)
Line ending errorsUse LF in .feature files (git config core.autocrlf input)

Linux

ProblemFix
Permission deniedchmod +x ./tkit
Missing shared librariesInstall browser deps (Debian/Ubuntu):
sudo apt-get install -y libnss3 libatk1.0-0 libatk-bridge2.0-0 \
  libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 \
  libxrandr2 libgbm1 libasound2
ProblemFix
No display (headless server)tkit run --headless or xvfb-run tkit run
Docker browser failsUse --no-sandbox flag or --cap-add=SYS_ADMIN
frontend:
  args:
    - "--no-sandbox"
    - "--disable-setuid-sandbox"

CI

# GitHub Actions (Ubuntu)
- run: |
    sudo apt-get update && sudo apt-get install -y libnss3 libatk1.0-0
    npm install -g @testflowkit/cli
    tkit run --headless

Next Steps