Open Source record and playback test automation for the web.
翻譯準備中
外掛TypeScript · JavaScriptGitHub @SeleniumHQ自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An integrated development environment for Selenium scripts Selenium IDE as an electron application written to enable recording and playback of selenium scripts.
Installation can be performed in a variety of ways:
npm install -g selenium-ide and run via selenium-ide directly.To build manually, you must have the below prerequisites installed and follow the steps afterward.
git clone https://github.com/SeleniumHQ/selenium-ide - Clone the IDE repocd selenium-ide - Navigate into the IDE folderpnpm -r i - Install dependenciespnpm run build - Build the apppnpm run start - Run the appHere's a draft of the general tasks ahead. Feel free to pitch in and announce which you wish to take upon yourself:
While Selenium IDE is running, it keeps a Chrome DevTools port open on
localhost:8315. Playback uses it to control the IDE's browser windows.
Any program on the same computer can connect to that port and control
those windows, including pages you are logged in to while recording.
Run Selenium IDE only on a computer you trust, and don't record with
accounts or data that other local users or programs must not reach.
Port 8315 only listens on localhost, so it is not reachable from other
computers unless you forward it.
If you'd like to contribute to the codebase, start by building manually using the above commands. The below tips are meant to assist you as well.
yarn watch will facilitate near-realtime rebuilding for rapid iteration (make change -> yarn start -> test change)CommandOrControl+F12 or CommandOrControl+Option+I will open the devtools. For your convenience, the React Developer Tools are pre-installed in the electron environment.localhost:8315 to use if the inline devtools are not enough, although I'd highly advocate for the in window dev tools, since they have the React Developer Tools installed as well.If you have questions, check out our FAQ.
You can also find us on the #selenium IRC channel, which is also available on Slack.
The codebase is javascript, and relies heavily on the NodeJS, Electron, and React ecosystem. This is a collection of packages arranged in a monorepo config. Excepting the code-export packages, which are fully untyped, these packages are fully typed using Typescript.
These are the main packages. They're used to run the thing:
selenium-ide: Main Electron app. Built with webpack, react frontend. Communicates via the IPC protocols.
side-runner: NodeJS Task Runner. Built with typescript.
side-cli: Experimental cli using react and ink.
side-runtime: Playback system wrapper. Takes side files and executes them. Used by both selenium-ide and side-runner.
side-api: This is the api shape of selenium-ide. This is intended to be used to help share the api types with plugins in a lower footprint way.
side-model: This is used to provide metadata around the standard commands and argument types.
side-commons: This is like the typical utils/helpers folder, except meant to be shared across packages instead of just folders.
side-code-export: NodeJS transpiler for .side files. Used to export to other languages (csharp, java, javascript, python, ruby).
code-export-*: Code export format for various languages