Prebuilt Selectors for WooCommerce

The table below provides a comprehensive list of prebuilt selectors integrated into CheckView for common WooCommerce fields. These selectors are used by CheckView to automatically populate the corresponding fields, based on predefined CSS selectors, ensuring efficient form completion during testing. We offer this list to clarify how our bots interact with various WooCommerce fields, making it easier to troubleshoot and anticipate potential issues.

CheckView Selector LabelCSS Selector(s)
Stripe Expiry Input#Field-expiryInput
Stripe CVC Input#Field-cvcInput
Stripe Card Element#stripe-card-element iframe[allow=’payment *’]
Stripe Expiration Element#stripe-exp-element iframe[allow=’payment *’]
Stripe CVC Element#stripe-cvc-element iframe[allow=’payment *’]
Add to cart button.single_add_to_cart_button.button.alt
“Ship to a different address” checkbox#ship-to-different-address-checkbox
Stripe Card Number (Short code)[name=”cardnumber”]
Stripe Expiration Date (Short code)[name=”exp-date”]
Stripe CVC (Short code)[name=”cvc”]
Stripe Card Number (Legacy)input[name=’cardnumber’]
Stripe CVC (Legacy)input[name=’cvc’]
Stripe Expiration Date (Legacy)input[name=’exp-date’]
Additional Information Field[name=”order_comments”],.wc-block-checkout__add-note textarea
Billing Address 2 Toggle Block.wc-block-components-address-form__address_2-toggle
Place Order Button#place_order,button.wc-block-components-checkout-place-order-button
Shipping City#shipping_city,#shipping-city
Shipping Company#shipping_company,#shipping-company
Billing Last Name#billing_last_name,#billing-last_name
Billing Company#billing_company,#billing-company
Billing Address 1#billing_address_1,#billing-address_1
Billing Postcode#billing_postcode,#billing-postcode
Billing Phone#billing_phone,#billing-phone
Billing Country#billing_country,#billing-country input
Shipping First Name#shipping_first_name,#shipping-first_name
Shipping Last Name#shipping_last_name,#shipping-last_name
Billing Address 2#billing_address_2,#billing-address_2
Stripe Card Number Input#Field-numberInput
Shipping Postcode#shipping_postcode,#shipping-postcode
Shipping Address 2 Toggle Block.wc-block-components-address-form__address_2-toggle
Add to cart itemtd.product-name,.wc-block-components-product-name
Use same billing address checkboxdiv.wc-block-checkout__use-address-for-billing input[type=”checkbox”]
Add additional information checkbox (block).wc-block-checkout__add-note input[type=’checkbox’]
CheckView Payment Method Labellabel[for=”radio-control-wc-payment-method-options-checkview”],label[for=”payment_method_checkview”]
Stripe Payment Method Labellabel[for=”radio-control-wc-payment-method-options-stripe”],label[for=”payment_method_stripe”]
Shipping Address 2#shipping_address_2,#shipping-address_2
Billing State#billing_state,#billing-state input
Shipping State#shipping_state,#shipping-state input
Shipping Country#shipping_country,#shipping-country input
Shipping Address 1#shipping_address_1,#shipping-address_1
Billing Email#billing_email,#email
Shipping Phone#shipping_phone,#shipping-phone
Billing First Name#billing_first_name,#billing-first_name
Billing City#billing_city,#billing-city
Woo Terms of Service Checkbox#terms,#terms-and-conditions