{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/212","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/212/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/212/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/212","id":72459445,"number":212,"title":"Page Never Completely Loads","user":{"login":"ryanlevell","id":6411462,"avatar_url":"https://avatars.githubusercontent.com/u/6411462?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanlevell","html_url":"https://github.com/ryanlevell","followers_url":"https://api.github.com/users/ryanlevell/followers","following_url":"https://api.github.com/users/ryanlevell/following{/other_user}","gists_url":"https://api.github.com/users/ryanlevell/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanlevell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanlevell/subscriptions","organizations_url":"https://api.github.com/users/ryanlevell/orgs","repos_url":"https://api.github.com/users/ryanlevell/repos","events_url":"https://api.github.com/users/ryanlevell/events{/privacy}","received_events_url":"https://api.github.com/users/ryanlevell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-05-01T15:44:59Z","updated_at":"2015-05-03T18:41:35Z","closed_at":null,"body":"I cloned and built beta 2.1 a few hours ago and I created a small script to try out the new BrowserMobProxy interface with WebDriver. I crammed everything into main() to make it simple to replicate.\r\n\r\nI tested out a few large sites (Google, Yahoo, Weather, etc) and weather.com won't finish loading - the other sites complete in a few seconds.\r\n\r\n    public static void main(String[] args) throws InterruptedException {\r\n\r\n        // final String URL = \"http://google.com\";\r\n        // final String URL = \"http://yahoo.com\";\r\n        // final String URL = \"http://msn.com\";\r\n        final String URL = \"http://weather.com\";\r\n\r\n        BrowserMobProxy server = new BrowserMobProxyServer();\r\n        server.start();\r\n        Proxy proxy = ClientUtil.createSeleniumProxy(server);\r\n\r\n        DesiredCapabilities caps = new DesiredCapabilities();\r\n        caps.setCapability(CapabilityType.PROXY, proxy);\r\n        WebDriver driver = new ChromeDriver(caps);\r\n\r\n        driver.get(URL);\r\n        Thread.sleep(2000);\r\n        System.out.println(server.getHar().getLog().getEntries().size());\r\n\r\n        driver.quit();\r\n        server.stop();\r\n    }\r\n\r\nHere are my capabilities:\r\n\r\n    Capabilities [{\r\n        applicationCacheEnabled=false,\r\n        rotatable=false,\r\n        mobileEmulationEnabled=false,\r\n        chrome={userDataDir=C:\\Users\\rlevell\\AppData\\Local\\Temp\\scoped_dir10856_862},\r\n        takesHeapSnapshot=true,\r\n        databaseEnabled=false,\r\n        handlesAlerts=true,\r\n        version=42.0.2311.90,\r\n        platform=XP,\r\n        browserConnectionEnabled=false,\r\n        nativeEvents=true,\r\n        acceptSslCerts=true,\r\n        locationContextEnabled=true,\r\n        webStorageEnabled=true,\r\n        browserName=chrome,\r\n        takesScreenshot=true,\r\n        javascriptEnabled=true,\r\n        cssSelectorsEnabled=true}\r\n    ]\r\n\r\nThe jars I am using:\r\n\r\n        <dependency>\r\n        \t<groupId>net.lightbody.bmp</groupId>\r\n        \t<artifactId>browsermob-core</artifactId>\r\n        \t<version>2.1.0-beta-1-SNAPSHOT</version>\r\n        </dependency>\r\n        <dependency>\r\n        \t<groupId>net.lightbody.bmp</groupId>\r\n        \t<artifactId>browsermob-core-littleproxy</artifactId>\r\n        \t<version>2.1.0-beta-1-SNAPSHOT</version>\r\n        </dependency>\r\n        <dependency>\r\n        \t<groupId>org.seleniumhq.selenium</groupId>\r\n        \t<artifactId>selenium-java</artifactId>\r\n        \t<version>2.45.0</version>\r\n        </dependency>\r\n\r\nI am using ChromeDriver version 2.15.322448.\r\nThe same thing happened when using Firefox, but I could not rely on it as my Firefox version is 37 and I don't believe FirefoxDriver supports it yet.\r\nThe page loads fine when I comment out the BrowserMob code."},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/98520478","html_url":"https://github.com/lightbody/browsermob-proxy/issues/212#issuecomment-98520478","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/212","id":98520478,"user":{"login":"jekh","id":9272923,"avatar_url":"https://avatars.githubusercontent.com/u/9272923?v=3","gravatar_id":"","url":"https://api.github.com/users/jekh","html_url":"https://github.com/jekh","followers_url":"https://api.github.com/users/jekh/followers","following_url":"https://api.github.com/users/jekh/following{/other_user}","gists_url":"https://api.github.com/users/jekh/gists{/gist_id}","starred_url":"https://api.github.com/users/jekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekh/subscriptions","organizations_url":"https://api.github.com/users/jekh/orgs","repos_url":"https://api.github.com/users/jekh/repos","events_url":"https://api.github.com/users/jekh/events{/privacy}","received_events_url":"https://api.github.com/users/jekh/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T18:41:35Z","updated_at":"2015-05-03T18:41:35Z","body":"I assume the thumbs up is good news? :) Working for you now?"}}