A browser extension that generates RobotFramework automation scripts for SeleniumLibrary and Browser.
Fork based on https://github.com/sohwendy/Robotcorder
For understanding and extending the generated scripts, see upstream
- robotframework-browser documentation
- SeleniumLibrary documentation
For understanding the XPATH selectors see Xpath Cheatsheet
For extra guides you can check out https://robotframework-recorder.com/docs/development-howtos/browser for generic browser automation documentation and https://robotframework-recorder.com/docs/development-howtos/browser/playwright for playwright based Browser library documentation.
- Recording user actions
- Scanning the html page
- Validating XPATH selectors
Create a exportable List of Commands instead of plain text Added an overview page for recordings.
Choose between generating locators for Robotframework Browser (playwright based) or SeleniumLibrary Choose between RPA or Test focused Robot Framework syntax
Edit the locators. go to chrome://extensions
click on Extension options
edit and update the locators
Coming to chrome web store soon. For now see https://github.com/robotframework-recorder/Robotcorder/releases for manual installation of latest release.
$ script/export.command or $ npm run export
Wenn du lokal an diesem Projekt arbeiten möchtest, hier ein kurzes Setup:
- Abhängigkeiten installieren
# Installiere Abhängigkeiten npm install- Yarn verfügbar machen (optional)
Das Projekt nutzt yarn in den package.json-Skripten. Du kannst Yarn global installieren oder Corepack (empfohlen bei neueren Node-Versionen) benutzen:
# Global per npm npm install -g yarn # Oder (Node >= 16.10) Corepack aktivieren und Yarn bereitstellen corepack enable corepack prepare yarn@stable --activateHinweis: Husky-Pre-Commit-Hook verwendet npx yarn test — das bevorzugt die lokal installierte Yarn-Version aus node_modules und erfordert keine globale Installation, solange npm install ausgeführt wurde.
- Tests & Linter
# Lint (statisch) npm run lint # Voller Testlauf (inkl. Linter + Unit-Tests) npm test- Husky pre-commit
Vor jedem Commit läuft der pre-commit Hook und führt npx yarn test aus. Falls du den Hook einmal temporär überspringen willst:
git commit -m "message" --no-verifyWenn du Husky dauerhaft deaktivieren willst (nicht empfohlen), kannst du in der aktuellen Shell export HUSKY=0 setzen.
- Chrome Store ZIP erstellen
Erzeuge ein ZIP-Paket für den Chrome Web Store (im dist-Ordner):
mkdir -p dist zip -r dist/robocorp-recorder-chrome.zip manifest.json src assets vendors robotframework-recorder-assets static script README.md LICENSE -x "*/test/*" "*/node_modules/*" ".github/*" "dist/*" "*.DS_Store"Das erzeugte Archiv kannst du dann im Chrome Web Store Developer Dashboard hochladen.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Refer to CHANGELOG.md


