Closed p00j4 closed 8 years ago
@jekh any insights would be helpful since it becomes not useful if my application under test doesn't load properly. Do I need to add or remove something ?
It looks like you're using the legacy ProxyServer class. Use the new BrowserMobProxyServer class, and make sure you're using the browsermob-core-littleproxy
module. SSL should "just work" with the most recent betas.
yes I came to close the issue for future readers, yes with BrowserMobProxyServer it works now.
My application is js extensive (Angular web, Material design- https://material.angularjs.org/latest/) I have configured proxy for my selenium test, but while executing the test, many of my application's JS is blocked or somehow interpreted wrong that the application's most of the pages doesn't load as intended and my tests fails which is false failure (I see many js errors in console @ the time ) after I reach at the exact page, i'm capturing the Har like this: is it because of : SSL Support thing? do I need to do add some .cert? https://github.com/lightbody/browsermob-proxy#ssl-support , is there any guide on How To? for 3rd party js files with https -> returns 500 and which are internal js files -> they fail with "$variable_name is not defined"
Here is my sample code: