Category Archives: Page-Object-Gem

Page-object gem now supports arguments in execute_script

Today I had my first pull request accepted into the Page-Object gem. As a result, the execute_script method now accepts arguments that can be accessed within the script. Like in Watir-Webdriver, the greatest benefit is being able to locate elements … Continue reading

Posted in Page-Object-Gem, Watir-Webdriver | Tagged | Leave a comment

Creating page objects with a dynamic page_url

Problem There was a StackOverflow question today about visiting dynamically generated urls with the page object gem. For example, the url of the page to view a StackOverflow user is in the form http://stackoverflow.com/users/1200545 where the id portion, “1200545”, is … Continue reading

Posted in Page-Object-Gem | Tagged , | 8 Comments