{"id":22362990,"url":"https://github.com/lambdatest/python-selenium-incognito","last_synced_at":"2026-06-24T17:31:04.292Z","repository":{"id":97545411,"uuid":"500822980","full_name":"LambdaTest/Python-selenium-incognito","owner":"LambdaTest","description":"Run Incognito Mode Tests With Python Selenium on TestMu AI (Formerly LambdaTest).","archived":false,"fork":false,"pushed_at":"2026-05-17T13:34:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-05-17T15:50:26.811Z","etag":null,"topics":["python","selenium","testing","testmuai"],"latest_commit_sha":null,"homepage":"https://www.testmuai.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LambdaTest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-07T12:04:13.000Z","updated_at":"2026-05-17T13:34:40.000Z","dependencies_parsed_at":"2023-03-13T16:11:07.720Z","dependency_job_id":null,"html_url":"https://github.com/LambdaTest/Python-selenium-incognito","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LambdaTest/Python-selenium-incognito","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPython-selenium-incognito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPython-selenium-incognito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPython-selenium-incognito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPython-selenium-incognito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LambdaTest","download_url":"https://codeload.github.com/LambdaTest/Python-selenium-incognito/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPython-selenium-incognito/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34743465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","selenium","testing","testmuai"],"created_at":"2024-12-04T17:12:51.885Z","updated_at":"2026-06-24T17:31:04.286Z","avatar_url":"https://github.com/LambdaTest.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run Python Selenium Tests in Incognito Mode on TestMu AI (Formerly LambdaTest)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.testmuai.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/MADE%20BY%20TestMu%20AI-000000.svg?style=for-the-badge\u0026labelColor=000\" alt=\"Made by TestMu AI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/selenium/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/selenium.svg?style=for-the-badge\u0026labelColor=000000\" alt=\"Selenium version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://community.testmuai.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge\u0026labelColor=000000\" alt=\"Community\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Getting Started\n\n[TestMu AI](https://www.testmuai.com/) (Formerly LambdaTest) is the world's first full-stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks.\n\nWith TestMu AI (Formerly LambdaTest), you can run Python Selenium tests in incognito mode on a real browser cloud. This sample shows how to configure incognito mode in Python Selenium on the TestMu AI cloud.\n\n- [Sign up on TestMu AI](https://www.testmuai.com/register/) (Formerly LambdaTest).\n- Follow the [TestMu AI documentation](https://www.testmuai.com/support/docs/) (Formerly LambdaTest) for the full setup walkthrough.\n\n### Prerequisites\n\n- Python 3.x and pip\n- selenium: `pip install selenium`\n- A TestMu AI (Formerly LambdaTest) account with your username and access key\n\n### Setup\n\nClone the sample repository and install dependencies:\n\n```bash\ngit clone https://github.com/LambdaTest/python-selenium-sample.git\ncd python-selenium-sample\npip install -r requirements.txt\n```\n\nSet your credentials as environment variables.\n\n**macOS / Linux:**\n\n```bash\nexport LT_USERNAME=\"YOUR_USERNAME\"\nexport LT_ACCESS_KEY=\"YOUR_ACCESS_KEY\"\n```\n\n**Windows:**\n\n```bash\nset LT_USERNAME=\"YOUR_USERNAME\"\nset LT_ACCESS_KEY=\"YOUR_ACCESS_KEY\"\n```\n\n### Incognito Mode Configuration\n\nYou can specify the incognito option in the test file capabilities. The following is an example of how to set the incognito option using chromeOptions:\n\n```python\ndesired_caps = {\n            'LT:Options': {\n                \"build\": \"Python Demo\",  # Change your build name here\n                \"name\": \"Python Demo Test\",  # Change your test name here\n                \"platformName\": \"Windows 11\",\n                \"selenium_version\": \"4.0.0\",\n                \"chromeOptions\" : {\n                \"args\" : [\"incognito\"]  # ChromeOption to start chrome in incognito mode\n                }\n            },\n            \"browserName\": \"Chrome\",\n            \"browserVersion\": \"98.0\",\n        }\n```\n\n### Run tests\n\n```bash\npython lambdatest.py\n```\n\nView results on your TestMu AI dashboard.\n\n## Contributions\n\nContributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Python version, OS, and Selenium version.\n\n## TestMu AI (Formerly LambdaTest) Community\n\nConnect with testers and developers in the [TestMu AI Community](https://community.testmuai.com/). Ask questions, share what you are building, and discuss best practices in test automation and DevOps.\n\n## TestMu AI (Formerly LambdaTest) Certifications\n\nEarn free [TestMu AI Certifications](https://www.testmuai.com/certifications/) for testers, developers, and QA engineers. Validate your skills in Selenium, Cypress, Playwright, Appium, Espresso and more. Industry-recognized, shareable on LinkedIn, and built by practitioners, not marketers.\n\n## Learning Resources by TestMu AI (Formerly LambdaTest)\n\nLearn modern testing through tutorials, guides, videos, and weekly updates:\n\n* [TestMu AI Blog](https://www.testmuai.com/blog/)\n* [TestMu AI Learning Hub](https://www.testmuai.com/learning-hub/)\n* [TestMu AI on YouTube](https://www.youtube.com/@TestMuAI)\n* [TestMu AI Newsletter](https://www.testmuai.com/newsletter/)\n\n## LambdaTest is Now TestMu AI\n\nOn **January 12, 2026**, [LambdaTest evolved to TestMu AI](https://www.testmuai.com/lambdatest-is-now-testmuai/), the world's first fully autonomous **Agentic AI Quality Engineering Platform**.\n\nSame team. Same infrastructure. Same customer accounts. All existing LambdaTest logins, scripts, capabilities, and integrations continue to work without change.\n\n👉 Find the new home for [LambdaTest](https://www.testmuai.com).\n\n### How LambdaTest Evolved into TestMu AI\n\nIn 2017, we launched LambdaTest with a simple mission: make testing fast, reliable, and accessible. As LambdaTest grew, we expanded into Test Intelligence, Visual Regression Testing, Accessibility Testing, API Testing, and Performance Testing, covering the full depth of the testing lifecycle.\n\nAs software development entered the AI era, testing had to evolve, too. We rebuilt the architecture to be AI-native from the ground up, with autonomous agents that **plan, author, execute, analyze, and optimize tests** while keeping humans in the loop. The platform integrates with your repos, CI, IDEs, and terminals, continuously learning from every code change and development signal.\n\nThat evolution earned a new name: **TestMu AI**, built for an AI-first future of quality engineering. TestMu is not a new name for us. It is the name of our annual community conference, which has brought together 100,000+ quality engineers to discuss how AI would reshape testing, long before that became an industry norm.\n\nWhat started as a high-performance cloud testing platform has transformed into an AI-native, multi-agent system powering a connected, end-to-end quality layer. That evolution defined a new identity: LambdaTest evolved into TestMu AI, built for an AI-first future of quality engineering.\n\n## Support\n\nGot a question? Email [support@testmuai.com](mailto:support@testmuai.com) or chat with us 24x7 from our chat portal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpython-selenium-incognito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdatest%2Fpython-selenium-incognito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpython-selenium-incognito/lists"}