Sha256: 079003a31ec6114924cee642f961aeabe8e2f6b34d143726b2adad86f2e9faf8
Contents?: true
Size: 331 Bytes
Versions: 1
Compression:
Stored size: 331 Bytes
Contents
require_relative '../abstract/abstract_page' class PdpPage < AbstractPage # Actions def add_to_cart_text driver.wait { add_to_cart_button }.text end private # Elements def add_to_cart_button <%= ERB.new(File.read(File.expand_path('./partials/pdp_page_selector.tt', __dir__))).result(binding) %> end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.4.3 | lib/generators/templates/automation/pdp_page.tt |