-
Notifications
You must be signed in to change notification settings - Fork 2.3k
browser.get() and browser.takeScreenshot() won't resolve. #3066
Comments
Can you clarify what "all kinds of problems" means? |
Sure. "all kinds of problems" means that both of the aforementioned promises won't resolve. It might be the case that more promises won't resolve, but I haven't tested this. Anyway, it should be really easy to reproduce with the information above. If you need anymore information, please let me know. |
We have tested protractor against chrome and it works fine. Please make sure that you've run |
I've also noticed that when I upgraded from 3.2.1 to 3.2.2, |
I'm having the same issue here, but downgrading protractor does not do the trick. This spec often resolves, but sometimes also times out:
Could this maybe be related to Chrome itself? I'm running Version 51.0.2700.0 dev (64-bit). |
Additional info from my side: Still the same problem. Updating protractor from 3.2.1 to 3.2.2 results in the above problem. |
I've just been setting up Protractor on a new project and I've been having 'all kinds of problems' also. Lots of inconsistent behaviour relating to the control flow. I've switched to Firefox and behaviour is as expected. |
My problems are gone! I'm not sure what did the trick, perhaps a newer version of Chrome. I'm currently running 51.0.2704.19 dev (64-bit). Chrome and Firefox both behave the same now. |
I believe this is due to #3115 - which made things fail for older versions of Angular. It is fixed in v3.3.0. |
@teddyhwang The "baseurl" in protractor config file is an internal key to the config object so the browser won't recognize it as a browser's property, try passing "baseurl" directly - browser.get(baseUrl); @cnishina please correct me if I am wrong! |
Bug report
v4.2.1
3.2.2
chrome
Windows 7
Do a regular browser.get('http://google.com');
Timeout after x sec.
Do a regular browser.get('http://google.com');
Localhost (not relevant).
After upgrading to protractor 3.2.2 (was 3.2.1) I suddenly see all kind of problems with resolving promises. After I downgrade to 3.2.1, the problem is gone. Can anybody look into this?
The text was updated successfully, but these errors were encountered: