{"action":"closed","issue":{"url":"https://api.github.com/repos/FluentLenium/FluentLenium/issues/414","repository_url":"https://api.github.com/repos/FluentLenium/FluentLenium","labels_url":"https://api.github.com/repos/FluentLenium/FluentLenium/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/FluentLenium/FluentLenium/issues/414/comments","events_url":"https://api.github.com/repos/FluentLenium/FluentLenium/issues/414/events","html_url":"https://github.com/FluentLenium/FluentLenium/issues/414","id":183907301,"number":414,"title":"scrollIntoView and click on firefox","user":{"login":"Toilal","id":1165758,"avatar_url":"https://avatars.githubusercontent.com/u/1165758?v=3","gravatar_id":"","url":"https://api.github.com/users/Toilal","html_url":"https://github.com/Toilal","followers_url":"https://api.github.com/users/Toilal/followers","following_url":"https://api.github.com/users/Toilal/following{/other_user}","gists_url":"https://api.github.com/users/Toilal/gists{/gist_id}","starred_url":"https://api.github.com/users/Toilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toilal/subscriptions","organizations_url":"https://api.github.com/users/Toilal/orgs","repos_url":"https://api.github.com/users/Toilal/repos","events_url":"https://api.github.com/users/Toilal/events{/privacy}","received_events_url":"https://api.github.com/users/Toilal/received_events","type":"User","site_admin":false},"labels":[{"id":310171995,"url":"https://api.github.com/repos/FluentLenium/FluentLenium/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-19T09:14:38Z","updated_at":"2016-11-24T18:02:15Z","closed_at":"2016-11-24T18:02:15Z","body":"I use `@BeforeClick` and scrollIntoView to automatically scroll the clicked element into view before perfoming the click.\n\nI hit an issue when running with firefox that locks the browser during the test.\n\nAs a workaround, here's my code :\n\n``` java\n@BeforeClickOn(64)\npublic void scrollIntoView(FluentWebElement element) {\n    element.scrollIntoView();\n    if (getWebDriver().equalsIgnoreCase(\"firefox\")) {\n        await().explicitlyFor(50);\n    }\n}\n```\n\nMaybe it should be integrated ? not sure though ...\n"}}
{"actor":{"display_login":"Toilal"}}