I'm trying to return the current page object URL but I'm not sure how to do this.
My code looks like this:
class APage
include PageObject
page_url '/page_url.com'
def get_page_url
return @page_url
end
But this doesn't work, as the @page_url
does not exist. How can I do this?