Selenium Protractor Tutorial


Protractor is an end-to-end testing framework; developed by Google Developers to support angular applications. Though it was initially developed to support Angular and AngularJS applications now, it supports both angular and Non-Angular applications.

Cross Browser Testing With Protractor & Selenium

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?


Using Selenium Locators In Protractor

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.


Handling Mouse And Keyboard Events

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.


Handling Multiple Windows

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.


Handling Timeouts With Selenium

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.


Handling iFrames And Frames in Selenium

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.


Handling Alerts And Popups

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!


Debugging Protractor Tests

We all know that end to end testing of web applications is pivotal to ensure quality. When you encounter issues while testing, the best approach is step by step debugging the code. Checkout this guide to learn how to debug Protractor tests.


We use cookies to give you the best experience. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. Learn More in our Cookies policy, Privacy & Terms of service

Allow Cookie

I hope you enjoy reading this Learning Hub.

If you want to fast track your browser testing experience, try LambdaTest.

Sarah Elson (Product & Growth Lead)