Hi,
I am learning Protractor to automate our GUI automation. Currently, I am
trying to aurtomate the MS-Dynamic CRM GUI steps.
I am unable to handle the popup which is opened with the URL. it's still
opened. I have used :
browser.getAllWindowHandles().then(function(handles){
browser.driver.switchTo().window(handles[1]);
browser.driver.close();
browser.driver.switchTo().window(handles[0]);
After doing browser.get, it's opening two sub window.
Please help me to close these windows by code and move to the next locator.
Thanks,
Indrajit
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.