{"comment":{"created_at":"2011-10-17T17:07:27Z","body":"helper:\r\n<pre>def click_on_document(text_content)\r\n  find('.document', text: text_content).click\r\nend\r\n</pre>\r\n\r\nError:\r\n<pre>Failure/Error: click_on_document \"Doc Title\"\r\nUnable to find css \".document\"</pre>\r\n\r\nI have ensured this document is on the page with `save_and_open_page` and by running Selenium.","updated_at":"2011-10-17T17:07:27Z","url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/comments/2431660","id":2431660,"user":{"gravatar_id":"eca6a30157569c5a522f406240de6977","avatar_url":"https://secure.gravatar.com/avatar/eca6a30157569c5a522f406240de6977?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/JaredSartin","id":645468,"login":"JaredSartin"}},"action":"created","issue":{"number":195,"created_at":"2011-10-17T16:55:30Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I have\r\n\r\n`find('.document', text: text_content).click`\r\n\r\nwhere text_content is a string given to the method. This finds and clicks a `.document` element on the page just fine, that is until I add `overflow: hidden` on the element the text is in. All of my tests that pass the `text_content` string have short enough strings to not get hidden by the css.\r\n\r\nUsing the Selenium driver, the tests pass, the item is clicked. Using Webkit, the element is not found, thus it is not clicked. Any ideas or fixes?","comments":2,"title":"Overflow:hidden breaks find","updated_at":"2011-10-17T17:07:27Z","url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/195","id":1930898,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"eca6a30157569c5a522f406240de6977","avatar_url":"https://secure.gravatar.com/avatar/eca6a30157569c5a522f406240de6977?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/JaredSartin","id":645468,"login":"JaredSartin"},"html_url":"https://github.com/thoughtbot/capybara-webkit/issues/195","labels":[],"state":"open"},"legacy":{"issue_id":1930898,"comment_id":2431660}}