-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
waitForAngularRequestsToFinish() not working as expected when window.angular is not initialized yet #108
Comments
What site? |
Angular's mounted on <body>. It should be easy enough. Email me from your
advantageonlineshopping.com
<https://www.advantageonlineshopping.com/#/> account
so I know I'm not helping a hacker.
…On Mon, Mar 8, 2021 at 4:33 PM Guilherme Sousa ***@***.***> wrote:
https://www.advantageonlineshopping.com/#/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUCBXIFB6BAQPENAHVVHLTCT37DANCNFSM4YZS6SRA>
.
|
I am not a Hacker. I'm working on a mobile/web test framework that needs to use this project as a dependency. The site https://www.advantageonlineshopping.com is not maintained by my company but it is for test purpose only. When I run these commands (from clientesidescripts.js): I get undefined when running |
Removing |
The JavaScript is unchanged from the same file in Protractor. Have you found an enhancement to make the clientesidescripts.js file? If yes, then it should be contributed to the Protractor project. |
Happy customer :) |
Do you know the best way to wait for
window.angular
to be available in an AngularJS application? Currently, at the beginning ofwaitForAngular1
there is some delay to get the angular object initialized in this site: https://www.advantageonlineshopping.com/#/At this line:
ngWebDriver/src/main/resources/js/clientsidescripts.js
Line 145 in 8a85735
The app is not considered an AngularJS app because of
window.angular
initialization delay. SongWebDriver.waitForAngularRequestsToFinish()
seems that is not enough to wait the page get loaded. What is the best approach to handle this situation?The text was updated successfully, but these errors were encountered: