Sha256: b76f0d4338490e6888d585fa118c5c0f67ac71f49f95108b7fb260958f8cf7e4

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

<%- if automation == 'ios' -%>
driver.find_element(predicate: 'label == "Sauce Labs Backpack"')
<%- elsif automation == 'android' -%>
driver.find_element(xpath: '(//android.view.ViewGroup[@content-desc="store item"])[1]/android.view.ViewGroup[1]')
<%- else -%>
element(ios: { predicate: 'label == "Sauce Labs Backpack"' },
            android: { xpath: '(//android.view.ViewGroup[@content-desc="store item"])[1]/android.view.ViewGroup[1]' })
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_raider-0.9.3 lib/generators/automation/templates/partials/home_page_selector.tt
ruby_raider-0.9.2 lib/generators/automation/templates/partials/home_page_selector.tt