Sha256: 9c06ccc79a11daca6e4eeb201580c635708821d91e8429d65b7339d722a91b27
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.4.3 | lib/generators/templates/automation/partials/pdp_page_selector.tt |