{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/605","repository_url":"https://api.github.com/repos/robotframework/Selenium2Library","labels_url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/605/comments","events_url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/605/events","html_url":"https://github.com/robotframework/Selenium2Library/issues/605","id":155360741,"number":605,"title":"Scroll Element into View","user":{"login":"MithuraJ","id":16921175,"avatar_url":"https://avatars.githubusercontent.com/u/16921175?v=3","gravatar_id":"","url":"https://api.github.com/users/MithuraJ","html_url":"https://github.com/MithuraJ","followers_url":"https://api.github.com/users/MithuraJ/followers","following_url":"https://api.github.com/users/MithuraJ/following{/other_user}","gists_url":"https://api.github.com/users/MithuraJ/gists{/gist_id}","starred_url":"https://api.github.com/users/MithuraJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MithuraJ/subscriptions","organizations_url":"https://api.github.com/users/MithuraJ/orgs","repos_url":"https://api.github.com/users/MithuraJ/repos","events_url":"https://api.github.com/users/MithuraJ/events{/privacy}","received_events_url":"https://api.github.com/users/MithuraJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-17T21:01:12Z","updated_at":"2016-05-18T16:27:16Z","closed_at":"2016-05-18T16:27:16Z","body":"Error scrolling into view. Using Selenium2Library for robot framework. \r\n\r\n1    Click Element    ${Button}\r\n2    Wait until Page Contains Element    id=title    30\r\n3    Click Element    id=room\r\n4    Wait until Page Contains Element    ${Kitchen}    30\r\n5    Wait until Page Contains   Kitchen    30\r\n6    Current Frame Contains    ${Kitchen}\r\n7    Click Element    ${Kitchen}\r\n\r\n4 and 5 pass, the element and text is found but it fails on step 6 and 7 because the element is not in the frame.  The exact error is `ElementNotVisibleException: Message: element not visible`.\r\n\r\nIf however I add a sleep before 6 and 7, then it finds the element, scrolls it into view and it works. "},"comment":{"url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/comments/220082152","html_url":"https://github.com/robotframework/Selenium2Library/issues/605#issuecomment-220082152","issue_url":"https://api.github.com/repos/robotframework/Selenium2Library/issues/605","id":220082152,"user":{"login":"MithuraJ","id":16921175,"avatar_url":"https://avatars.githubusercontent.com/u/16921175?v=3","gravatar_id":"","url":"https://api.github.com/users/MithuraJ","html_url":"https://github.com/MithuraJ","followers_url":"https://api.github.com/users/MithuraJ/followers","following_url":"https://api.github.com/users/MithuraJ/following{/other_user}","gists_url":"https://api.github.com/users/MithuraJ/gists{/gist_id}","starred_url":"https://api.github.com/users/MithuraJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MithuraJ/subscriptions","organizations_url":"https://api.github.com/users/MithuraJ/orgs","repos_url":"https://api.github.com/users/MithuraJ/repos","events_url":"https://api.github.com/users/MithuraJ/events{/privacy}","received_events_url":"https://api.github.com/users/MithuraJ/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T16:27:15Z","updated_at":"2016-05-18T16:27:15Z","body":"**Do you have a public URL where we can see the behavior?**\r\nNo\r\n\r\n**Are you sure the element is visible and in a frame, and that frame is selected?**\r\nMaybe, it works when the browser is not full screen because everything is visible however when it is full screen then you have to scroll and not everything is visible \r\n\r\n**Have you tried with different browsers?**\r\nYes, Chrome & Firefox\r\n\r\n**What s the version of Selenium?**\r\n1.7.4\r\n\r\n`Wait until Element is Visible `worked, what is the difference between this and Wait until Page Contains Element.\r\n\r\nThank you very much!\r\n"}}