Sha256: 1f1d01d9e3db8013a6ba27e9fb25121f7cece1325ec60934fa7b010638374b51
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
<%- if automation == 'ios' -%> driver.find_element(accessibility_id: 'Add To Cart button') <%- elsif automation == 'android' -%> driver.find_element(xpath: '//android.view.ViewGroup[@content-desc="Add To Cart button"]/android.widget.TextView') <%- else -%> element(ios: { accessibility_id: 'Add To Cart button' }, android: { xpath: '//android.view.ViewGroup[@content-desc="Add To Cart button"]/android.widget.TextView' }) <%- end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.9.3 | lib/generators/automation/templates/partials/pdp_page_selector.tt |
ruby_raider-0.9.2 | lib/generators/automation/templates/partials/pdp_page_selector.tt |