kpodl / pytractor

Python selenium extensions for testing angular.js apps
44 stars 29 forks source link

Allow starting with a non-angular page #14

Open cb109 opened 8 years ago

cb109 commented 8 years ago

E.g. when starting with a simple login-page, that will redirect to a page that actually uses angular. This currently fails, since pytractor does not find an angular app.

It would be nice to have a mechanism that allows that.

dfdf-santosh commented 8 years ago

Will it not support for non-angular pages?

dfdf-santosh commented 8 years ago

But PROtractor supports non-angular pages as well, then why not PYtractor?

mwalkowski commented 8 years ago

you can use with non-angular pages using super.

2016-04-19 14:50 GMT+02:00 dfdf-santosh notifications@github.com:

But PROtractor supports non-angular pages as well, then why not PYtractor?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/kpodl/pytractor/issues/14#issuecomment-211910008

dfdf-raviraj commented 8 years ago

Hello mwalkowski,

I did not get how we can use "super" in this scenario. But meanwhile I did research and found that it will work with non-angular also by using below statement. "driver.ignore_synchronization = True".

refer last two lines in below link: https://github.com/kpodl/pytractor/blob/master/src/pytractor/tests/functional/test_base.py

mwalkowski commented 8 years ago

thanks, I did not know about this:)

2016-04-19 17:47 GMT+02:00 dfdf-raviraj notifications@github.com:

Hello mwalkowski,

I did not get how we can use "super" in this scenario. But meanwhile I did research and found that it will work with non-angular also by using below statement. "driver.ignore_synchronization = True".

refer last two lines in below link:

https://github.com/kpodl/pytractor/blob/master/src/pytractor/tests/functional/test_base.py

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/kpodl/pytractor/issues/14#issuecomment-211988720

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Wolny od wirusów. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>