blob: b8e720a2b9c4da77d3e0b1eed7c6cc0e1f8063db [file] [log] [blame]
{
"name": "Amazon.com: The Path to Power (The Years of Lyndon Johnson, Volume 1) (9780679729457): Robert A. Caro: Books",
"startingURL": "https://www.amazon.com/Path-Power-Years-Lyndon-Johnson/dp/0679729453/ref=sr_1_1?_encoding=UTF8&ref_=nav_ya_signin&",
"actions": [
{
"selectorType": "xpath",
"selector": "//*[@id=\"add-to-cart-button\"]",
"context": [],
"type": "click"
},
{
"selectorType": "xpath",
"selector": "//*[@id=\"hlb-ptc-btn-native\"]",
"context": [],
"type": "click"
},
{
"selectorType": "xpath",
"selector": "//*[@id=\"enterAddressFullName\"]",
"context": [],
"type": "autofill"
},
{
"selector": "//*[@id=\"enterAddressFullName\"]",
"context": [],
"expectedAutofillType": "NAME_FULL",
"expectedValue": "Milton C. Waddams",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressAddressLine1\"]",
"context": [],
"expectedAutofillType": "ADDRESS_HOME_LINE1",
"expectedValue": "4120 Freidrich Lane",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressAddressLine2\"]",
"context": [],
"expectedAutofillType": "ADDRESS_HOME_LINE2",
"expectedValue": "Apt 8",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressCity\"]",
"context": [],
"expectedAutofillType": "ADDRESS_HOME_CITY",
"expectedValue": "Austin",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressStateOrRegion\"]",
"context": [],
"expectedAutofillType": "ADDRESS_HOME_STATE",
"expectedValue": "Texas",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressPostalCode\"]",
"context": [],
"expectedAutofillType": "ADDRESS_HOME_ZIP",
"expectedValue": "78744",
"type": "validateField"
},
{
"selector": "//*[@id=\"enterAddressPhoneNumber\"]",
"context": [],
"expectedAutofillType": "PHONE_HOME_CITY_AND_NUMBER",
"expectedValue": "5125551234",
"type": "validateField"
},
{
"selectorType": "xpath",
"selector": "//input[@type='submit' and @value='Deliver to this address']",
"context": [],
"type": "click"
},
{
"selectorType": "xpath",
"selector": "//*[@id=\"shippingOptionFormId\"]/div[1]/div[2]/div/span[contains(., '')]/span[contains(., '')]/input[@type='submit' and @value='Continue']",
"context": [],
"type": "click"
},
{
"selectorType": "xpath",
"selector": "//*[@id=\"ccName\"]",
"context": [],
"type": "autofill"
},
{
"selector": "//*[@id=\"addCreditCardNumber\"]",
"context": [],
"expectedAutofillType": "CREDIT_CARD_NUMBER",
"expectedValue": "9621327911759602",
"type": "validateField"
},
{
"selector": "//*[@id=\"ccName\"]",
"context": [],
"expectedAutofillType": "CREDIT_CARD_NAME_FULL",
"expectedValue": "Milton Waddams",
"type": "validateField"
},
{
"selector": "//*[@id=\"ccMonth\"]",
"context": [],
"expectedAutofillType": "CREDIT_CARD_EXP_MONTH",
"expectedValue": "5",
"type": "validateField"
},
{
"selector": "//*[@id=\"ccYear\"]",
"context": [],
"expectedAutofillType": "CREDIT_CARD_EXP_4_DIGIT_YEAR",
"expectedValue": "2027",
"type": "validateField"
}
]
}