How to get element with css in PageObject
In the project on which I add tests, I have some elements complicated to "get". The html of my textarea : <div class="quote"> <div class="clearfix"> <div class="icon"></div> <div class="text"> <span class="yui3-widget yui3-inputwidget yui3-textareawidget yui3-textareawidget-focused" style=""> <span class="yui3-textareawidget-content"> <textarea name="" placeholder=""></textarea> </span> </span> </div> <div class="author"> (...) other text_field </div> </div> </div> </div> For the moment, I use this line to set value @browser.element(:css => ".quote textarea").send_keys "test" In PageObject, I