World’s largest virtual agentic engineering & quality conference

WHENAUG 19-21
WHEREVirtual · Global
Register Now
Testing

Selenium Protractor Tutorial: Guide With Examples & Tips

Selenium Protractor is an open-source framework for testing Angular apps. Learn to automate tests with Protractor in this definitive guide.

Author

TestMu AI

Author

Author

Navin Chandra

Reviewer

Last Updated on: July 17, 2026

Protractor is an end-to-end testing framework developed by Google Developers to support Angular applications. Though it was initially designed for Angular and AngularJS apps, it now supports both Angular and non-Angular applications.

Note: This guide covers Protractor the software testing framework, not the geometry tool for measuring angles. Protractor is also now deprecated - see the status and migration options below before starting a new project.

What Is Protractor in Software Testing?

In software testing, Protractor is an end-to-end test framework built on Node.js and created by Google to test Angular and AngularJS applications in a real browser. It also automates non-Angular sites because it drives browsers through Selenium underneath.

Architecturally, Protractor is a wrapper around WebDriverJS, the JavaScript bindings for Selenium WebDriver. It communicates with browsers through a Selenium Server and layers Angular-aware behavior on top - most notably automatic waiting, which syncs each test step with Angular's rendering so you write fewer manual waits. Here is how the pieces fit together:

  • Test runner: Jasmine (default), Mocha, or Cucumber defines and executes the test specs.
  • Spec files (spec.js): hold the actual test cases and assertions.
  • Config file (conf.js): sets the Selenium address, browser capabilities, and which specs to run.
  • WebDriverJS + Selenium Server: translate commands into real browser actions.

Is Protractor Deprecated? Status and Alternatives

Yes. The Angular team announced Protractor's deprecation in April 2021, and Protractor reached end of life on August 31, 2023, per the Angular team's deprecation update. Its GitHub repository was archived in July 2024, so it no longer receives updates or security fixes.

For any new project, start with a maintained framework. Common choices are Playwright, Cypress, WebdriverIO, Puppeteer, and native Selenium WebDriver, all of which the Angular team pointed to as migration paths. TestMu AI runs each of these across 3,000+ browser and OS combinations, so you can move a legacy Protractor suite to a supported framework without losing cross-browser coverage. The getting started with HyperExecute documentation covers orchestrating those runs.

The chapters below still help if you maintain an existing Protractor suite. They cover the everyday tasks - locators, waits, windows, iframes, and debugging - you need to keep it running while you plan a migration.

Note

Note: Migrating off Protractor? Run your Playwright, Cypress, or Selenium suite on the TestMu AI cloud grid across 3,000+ browser and OS combinations and 10,000+ real devices. Start testing free

Test across 3000+ browser and OS environments with TestMu AI

Author

...

TestMu AI

Blogs: 203

  • Twitter
  • Linkedin

TestMu AI is 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. AI Agents like HyperExecute and KaneAI bring the power of AI and cloud into your software testing workflow, enabling seamless automation testing with 120+ integrations. TestMu AI Agents accelerate your testing throughout the entire SDLC, from test planning and authoring to automation, infrastructure, execution, RCA, and reporting.

Reviewer

...

Navin Chandra

Reviewer

  • Linkedin

Navin Chandra is a Member of Technical Staff at TestMu AI (formerly LambdaTest), building the open-source automation that powers its Selenium and Appium cloud grid. A committer to both Selenium and Appium, he implemented WebDriver BiDi support in Selenium for real-time browser events and bidirectional control and is developing Apple's iOS RemoteXPC protocol in Appium to enable low-level wireless communication with iOS system services. He contributes to Selenium across multiple language bindings as a member of the Selenium GitHub organization. He has served as a Google Summer of Code mentee and mentor at openSUSE and an LFX mentee at CNCF's KubeArmor, and is a SUSE Certified Deployment Specialist. Navin holds a B.Tech in Computer Science.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free
...
TestMu Conf 2026

World's largest virtual agentic engineering & quality conference

...

AUG 19-21, 2026

REGISTER NOW

Protractor Testing FAQs

Did you find this page helpful?

More Related Blogs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests