page-object
page-object copied to clipboard
Gem to implement PageObject pattern in watir-webdriver and selenium-webdriver
#page_section and #page_sections only support locating the root elements via a locator Hash. We should add support for specifying a block - ie similar to other accessors. This will provide...
For example, given the following page, which has an `input` adjacent to a `div`: ~~~~~~~~ a ~~~~~~~~ An exception will occur when trying to get the adjacent elements: ~~~~~~~~ class...
An UnknownObjectException occurs when: * Checking the existence (or presence) of an adjacent element (eg followig_sibling, preceding_sibling, etc) and * The element does not exist. For example, given the following...
The standard accessor methods create `?` to check the existence of an element. In most cases, I would expect people care about the presence (ie exists AND visible). Ideally, we...
As of watir 6.13, we are able to replace `element.wait_until { |el| el.text == 'Foo' }` with `element.wait_until(text: 'Foo')`. However, this is not supported by this gem as of v2.2.5....
Hi team, I've found a use-case where the custom widgets are less flexible than is ideal: ```ruby require 'page-object' class One include PageObject end class GxtTable < PageObject::Elements::Table protected def...
(givin back ;-) ) WIth so much client side rendering going on these days, you can get pages where the first thing you have to do is wait for ajax,...
Is there any way to use page sections while continuing to use the `populate_page_with` and `data_for` methods? If that is not possible, is there any way to use those methods...
Now sections are threaded as elements with some other elements in it but this approach makes unable to use page methods inside sections: `wait_until { login_button? }` will raise `NoMethodError:...
The coverage reported by Coveralls for lib/page-object/platforms/watir-webdriver/element.rb seems to be incorrect. Method names are marked as covered, but content is not. This issue was not displayed in pull request 338...