Open Negashev opened 8 years ago
Hi @Negashev
I too had the same issue and came up with the following work around. The problem is that when you use browsermobproxy (bmp), any https requests go through the MITM with LittleProxy. This uses its own self signed certificate which is not trusted by your browser. So what I did was:
profile = webdriver.FirefoxProfile(profile_directory=FIREFOX_PROFILE)
profile.set_proxy(self.proxy.selenium_proxy())
profile.accept_untrusted_certs = True
profile.assume_untrusted_cert_issuer = False
profile.update_preferences()
self.browser = webdriver.Firefox(firefox_profile=profile, proxy=self.proxy)
Hope this helps Cheers,
Thusjanthan Kubendranathan
This is not working
I run selenium hub with firefox and proxy browsermob by
bwowk/browsermob-proxy
1) all in
docker-compose.yml
file2) Create a Dockerfile with
pip install selenium browsermob-proxy
and linkhub
andproxy
3) in terminal write
in debug i see that var
caps
have are proxy key and in proxy server i see that new proxy is registeredResult
But firefox does not use this proxy address. That is why i can not get logs.
proxyClient.har['log']['entries']
is null []in docker image