{"action":"closed","issue":{"url":"https://api.github.com/repos/kallisti-dev/hs-webdriver/issues/84","labels_url":"https://api.github.com/repos/kallisti-dev/hs-webdriver/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/kallisti-dev/hs-webdriver/issues/84/comments","events_url":"https://api.github.com/repos/kallisti-dev/hs-webdriver/issues/84/events","html_url":"https://github.com/kallisti-dev/hs-webdriver/issues/84","id":124662622,"number":84,"title":"Selenium and PAC proxy: empty path to PAC-file in Firefox","user":{"login":"denisshevchenko","id":5082435,"avatar_url":"https://avatars.githubusercontent.com/u/5082435?v=3","gravatar_id":"","url":"https://api.github.com/users/denisshevchenko","html_url":"https://github.com/denisshevchenko","followers_url":"https://api.github.com/users/denisshevchenko/followers","following_url":"https://api.github.com/users/denisshevchenko/following{/other_user}","gists_url":"https://api.github.com/users/denisshevchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/denisshevchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisshevchenko/subscriptions","organizations_url":"https://api.github.com/users/denisshevchenko/orgs","repos_url":"https://api.github.com/users/denisshevchenko/repos","events_url":"https://api.github.com/users/denisshevchenko/events{/privacy}","received_events_url":"https://api.github.com/users/denisshevchenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kallisti-dev/hs-webdriver/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-03T18:11:50Z","updated_at":"2016-01-12T16:13:15Z","closed_at":"2016-01-12T16:13:15Z","body":"Hi again!\r\n\r\nI try to use a proxy capability. When I use `Manual` proxy setting - it works like a charm: I see corresponding proxy settings in the Network settings of the Firefox (started by Selenium standalone server). But when I try to use `PAC` proxy, I got a problem.\r\n\r\nThis is my code:\r\n\r\n```haskell\r\ncapabilities :: Capabilities\r\ncapabilities = defaultCaps { proxy = pacBasedProxy }\r\n  where\r\n    pacBasedProxy = PAC { autoConfigUrl = pathToBrowserPACFileAsURL }\r\n```\r\n\r\nFunction `pathToBrowserPACFileAsURL` returns a file path to the PAC-file (like `file:///tmp/selenium-pac-test`). File actually exists, its content is correct (I've checked it). But if I look in the Network setting of the Firefox - I see an empty path to the PAC-file:\r\n\r\n![alt text](https://i.imgur.com/v5efvoP.png \"Test\")\r\n\r\nAs you can see, PAC proxy option is active, but path to the PAC-file is empty... Obviuosly, PAC-based proxy doesn't work in this case...\r\n\r\nThis is what I see in the Selenium server's log:\r\n\r\n```bash\r\nExecuting: [new session: Capabilities [{proxy={autoConfigUrl=file:///tmp/selenium-pac-test, proxyType=PAC}, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@27d3164b, browserName=firefox, platform=ANY}]])\r\n```\r\n\r\nSelenium *see* that I want to use PAC-based proxy, but why is path to the PAC-file empty? How can I fix it?"}}