-
Notifications
You must be signed in to change notification settings - Fork 212
/
L000571.yaml
88 lines (88 loc) · 2.67 KB
/
L000571.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
bioguide: L000571
contact_form:
method: post
action: /#wpcf7-f8521-p45-o1
steps:
- visit: "https://www.lummis.senate.gov/contact/contact-form/"
- wait:
- value: 3
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- fill_in:
- name: "FirstName"
selector: "input[name='FirstName']"
value: $NAME_FIRST
required: true
- name: "LastName"
selector: "input[name='LastName']"
value: $NAME_LAST
required: true
- name: "your-message"
selector: "textarea[name='your-message']"
value: $MESSAGE
required: true
- name: "Address1"
selector: "input[name='Address1']"
value: $ADDRESS_STREET
required: true
- name: "City"
selector: "input[name='City']"
value: $ADDRESS_CITY
required: true
- name: "ZipCode"
selector: "input[name='ZipCode']"
value: $ADDRESS_ZIP5
required: true
- name: "your-email"
selector: "input[name='your-email']"
value: $EMAIL
required: true
- select:
- name: "Topic"
selector: "select[name='Topic']"
value: $TOPIC
required: true
options:
- Agriculture
- Animal Rights
- Arts & humanities
- Civil Rights
- Commerce
- Congress
- Crime and law enforcement
- Defense and military
- Economy
- Education
- Emergency management
- Engergy
- Environment
- Families
- Finance
- Government
- Health
- Housing
- Immigration
- International affairs
- Labor
- Public Lands
- Law
- Native Americans
- Social science and history
- Sports and recreation
- Taxation
- Transportation and public works
- Trade
- Water
- Welfare
- click_on:
- value: Send
selector: input[type='submit']
- wait:
- value: 10
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
success:
headers:
status: 200
body:
contains: Thank you