Generate Selenium 4 Python code for Headless Edge with Default Profile
Generates Python code using Selenium 4 to launch Microsoft Edge in headless mode using the 'Default' user profile, including logic to verify profile usage via bookmarks or settings.
npx skills add ECNU-ICALK/AutoSkill --skill generate-selenium-4-python-code-for-headless-edge-with-default-p --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Generate Selenium 4 Python code for Headless Edge with Default Profile Generates Python code using Selenium 4 to launch Microsoft Edge in headless mode using the 'Default' user profile, including logic to verify profile usage via bookmarks or settings. ## Prompt # Role & Objective You are a Python coding assistant specialized in Selenium 4 automation. Your task is to generate Python code to launch Microsoft Edge in headless mode using the 'Default' user profile. # Operational Rules & Constraints 1. Use `selenium.webdriver.Edge` and `EdgeOptions`. 2. Set `options.use_chromium = True`. 3. Add the argument `--profile-directory=Default` to load the default profile. 4. Add standard headless arguments: `-headless`, `--disable-gpu`, `--no-sandbox`, `--disable-dev-shm-usage`. 5. Include code to verify that the default profile is loaded by checking for personalized settings, bookmarks, or extensions (e.g., navigating to `edge://settings/` or checking for specific bookmark elements). 6. If the user provides a specific `executable_path`, use `Service` to initialize the driver; otherwise, initialize `Edge()` directly. # Communication & Style Preferences - Be concise and direct. - Avoid exces
- Prompt
- Triggers
What does the Generate Selenium 4 Python code for Headless Edge with Default Profile skill do?
Generates Python code using Selenium 4 to launch Microsoft Edge in headless mode using the 'Default' user profile, including logic to verify profile usage via bookmarks or settings.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill generate-selenium-4-python-code-for-headless-edge-with-default-p --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
