{"action":"created","issue":{"url":"https://api.github.com/repos/codeborne/selenide/issues/431","repository_url":"https://api.github.com/repos/codeborne/selenide","labels_url":"https://api.github.com/repos/codeborne/selenide/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/codeborne/selenide/issues/431/comments","events_url":"https://api.github.com/repos/codeborne/selenide/issues/431/events","html_url":"https://github.com/codeborne/selenide/issues/431","id":192987414,"number":431,"title":"Possibility to set webDriver's capabilities through the Configuration","user":{"login":"juliaviluhina","id":13263036,"avatar_url":"https://avatars.githubusercontent.com/u/13263036?v=3","gravatar_id":"","url":"https://api.github.com/users/juliaviluhina","html_url":"https://github.com/juliaviluhina","followers_url":"https://api.github.com/users/juliaviluhina/followers","following_url":"https://api.github.com/users/juliaviluhina/following{/other_user}","gists_url":"https://api.github.com/users/juliaviluhina/gists{/gist_id}","starred_url":"https://api.github.com/users/juliaviluhina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliaviluhina/subscriptions","organizations_url":"https://api.github.com/users/juliaviluhina/orgs","repos_url":"https://api.github.com/users/juliaviluhina/repos","events_url":"https://api.github.com/users/juliaviluhina/events{/privacy}","received_events_url":"https://api.github.com/users/juliaviluhina/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-01T23:03:03Z","updated_at":"2016-12-10T23:03:28Z","closed_at":"2016-12-10T23:03:28Z","body":"It would be convenient if setting webDriver's capabilities(or some capabilities)  was available through the Configuration. And webDriver (created automatically by Selenide) could use this information about capabilities from Configuration.\r\nCould you add this feature, please?\r\n\r\nFor example\r\n\r\nIn Selenide 4.x (and in Selenium 3.x) \r\nIt can be possible to use old versions Firefox (v<48) with Firefox webDriver\r\nFor this purpose, capability \"marionette\" should be set as false, and these capabilities should be used in webDriver creation.\r\n\r\nAccording [to Wiki page \"How Selenide creates WebDriver\"](https://github.com/codeborne/selenide/wiki/How-Selenide-creates-WebDriver)\r\ntwo described options work correctly.\r\n\r\nOption 1 - custom creation Firefox webDriver\r\n        DesiredCapabilities capabilities = new DesiredCapabilities();\r\n        capabilities.setCapability(\"marionette\", false);\r\n        setWebDriver(new FirefoxDriver(capabilities));\r\nHowever, custom webDriver creation requires custom webDriver closing.\r\n\r\nOption 2 - usage factory that implements interface WebDriverProvider\r\n\r\nBoth these methods are not easy to understanding for beginners and a bit bulky. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/codeborne/selenide/issues/comments/266246118","html_url":"https://github.com/codeborne/selenide/issues/431#issuecomment-266246118","issue_url":"https://api.github.com/repos/codeborne/selenide/issues/431","id":266246118,"user":{"login":"juliaviluhina","id":13263036,"avatar_url":"https://avatars.githubusercontent.com/u/13263036?v=3","gravatar_id":"","url":"https://api.github.com/users/juliaviluhina","html_url":"https://github.com/juliaviluhina","followers_url":"https://api.github.com/users/juliaviluhina/followers","following_url":"https://api.github.com/users/juliaviluhina/following{/other_user}","gists_url":"https://api.github.com/users/juliaviluhina/gists{/gist_id}","starred_url":"https://api.github.com/users/juliaviluhina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliaviluhina/subscriptions","organizations_url":"https://api.github.com/users/juliaviluhina/orgs","repos_url":"https://api.github.com/users/juliaviluhina/repos","events_url":"https://api.github.com/users/juliaviluhina/events{/privacy}","received_events_url":"https://api.github.com/users/juliaviluhina/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T23:03:28Z","updated_at":"2016-12-10T23:03:28Z","body":"Hello @asolntsev  )\r\nYes, you are right, it is a duplicate of #397\r\nI close my ticket "}}
{"actor":{"display_login":"juliaviluhina"}}