Create child page - wish list page
And "wish_list.rb":
touch wish_list.rb
We need to copy following content to "wish_list.rb" and delete them from "base_page.rb".
class WishList < Page
def addToShoppingCartFromWishList
clickElementBy("xpath", "//a[@class=\"a-button-text a-declarative\"]")
end
end