How to handle multiple windows [Protractor] | LetCode

preview_player
Показать описание
#protractor #letcode #javascript
Hello :), In this video we will learn how to handle multiple windows or tabs using Protractor.
functions:
0:00 How to handle multiple windows
5:00 getWindowHandles();
8:00 getWindowHandle();
11:00 exception - Failed: invalid argument: 'name' must be a string

Thanks for watching, like, and share the video to support the channel.

Source code

Behind the screen,

Join our Facebook group,

Thanks for watching :)
Intro & Outro
music credit
song: To my soul
Channel search
letcode "letcode koushik" LetCode "letcode automation" "letcode javascript" "letcode chrome extension" "letcode protractor" "letcode testing" "letcode selenium" selenium protractor javascript "chrome extension" java "letcode java" "letcode youtube"
Рекомендации по теме
Комментарии
Автор

Thanks. It's useful for me in right ⌚ 😊

praveenapravee
Автор

Sir. Before all method you given angular enabled =false since you are using non angular application. What if Incase I want to switch from angular to nonangular application.. Example I am having a button which is in angular page so in before all method I gave angular enabled as true but after clicking the button new non angular tab is opened so I'm getting error : Timeout - Async call back was not invoked within timeout specified by jasmine. Default_TIMEOUT_INTERVAL

jandiva
Автор

Bro, could you please confirm,
Is getWindowHandles return a ordered list?
Selenium Java returns a set which is an unordered list

sreereshvkm
Автор

I used the same script but iam getting failed: browser. Switchto. Window is not a function. Please suggest

jandiva
Автор

Could you please create a video handling three windows

jeeveechiran
Автор

PlZ provide selenium teaching Tamil videos

swetha
Автор

The same I am getting on handling alerts

jandiva
Автор

Please someone suggest any idea to resolve this issue

jandiva