Member-only story
What should you use instead of Protractor for test automation of Angular sites?
If you are using Protractor for test automation of Angular sites, I have bad and good news for you.
First, the bad news.
Protractor will be retired at the end of 2022 as it became incompatible with the latest version of the Selenium WebDriver framework.
Protractor is built on top of the Selenium WebDriver bindings for Node.JS and unfortunately the latest version of these bindings introduced changes that are difficult to use in Protractor.
Read the announcement here.
If you have lots of UI tests built with Protractor, this is obviously not good news.
You will have to migrate the tests to another automation library for Javascript.
Which one should you use?
The good news is that there are quite a few libraries that you can use.
The “retirement” announcement presents a few options for Protractor:
- Cypress
- PlayWright
- Puppeteer
- Selenium-webdriver
- TestCafe
- WebdriverIO