World’s largest virtual agentic engineering & quality conference
Selenium Protractor is an open-source framework for testing Angular apps. Learn to automate tests with Protractor in this definitive guide.

TestMu AI
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.
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:
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: 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
In this chapter, we will be looking into details about what we mean by JavaScript test automation framework? Why is Protractor a good fit for test automation? How did it help to achieve cross browser test automation with different browsers?
SEE MORE →Protractor, an Angular JS framework, has many Selenium locators that can be identified by using a specific By method during runtime. In this chapter, we will closely discuss the Selenium locators in Protractor and how we can use locators to interact with the application and further fetch the current running state.
SEE MORE →Here we'll look at various aspects of how to handle mouse and keyboard actions in the Selenium Protractor framework. Along with a few examples of the frequently used keyboard and mouse actions in Selenium Protractor.
SEE MORE →While performing automated browser testing, at times, you might end up in situations where you would need to handle multiple windows in Selenium. In this chapter, we'll show you how to handle multiple windows in Selenium with Protractor.
SEE MORE →Often, while performing Selenium test automation, you’ll come across certain scenarios when your test fails because the web page or the web element takes some time to load completely. In such scenarios, the best approach is to wait for the page or the web elements to load completely to avoid any timeout errors.
SEE MORE →Do you know Frames are used to split the content into horizontal and vertical splits, while iframes are used to embed content on a web page? While performing Selenium test automation, you'd often come across scenarios where you'd need to handle frames or iframes. In this chapter, we'll look at how to handle frames and iframes in Selenium with Protractor.
SEE MORE →Browsers have native dialog boxes, one that you can show to alert users to these important messages using JavaScript. In this chapter we will be covering how to perform Selenium test automation with Protractor to handle alerts and pop-ups. Read the blog to learn more!
SEE MORE →Author
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 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.
Did you find this page helpful?
More Related Blogs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance