forked from careerist-qa/python-selenium-automation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomework Lesson 2 complete.py
More file actions
50 lines (27 loc) · 857 Bytes
/
Homework Lesson 2 complete.py
File metadata and controls
50 lines (27 loc) · 857 Bytes
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
#Amazon logo
#Search Strategy by class name
//img[@alt='Amazon']
#Email field
#Search Strategy: by ID
//input[@id='ap_email']
#Continue button
#Search Strategy: by name and id or I could find it by the button text
//input[@id='continue']
#Conditions of use link
#Search Strategy: by locating the link text
//a[text()='Conditions of Use']
#Privacy Notice link
#Search Strategy: by text link
//a[text()='Privacy Notice']
#Need help link
#Search Strategy: by link text
//a[text()='Need help?']
#Forgot your password link
#Search Strategy: by locating the link text
//a[text()='Forgot your password?']
#Other issues with Sign-In link
#Search Strategy: by locating the link text
//a[text()='Other issues with Sign-In']
#Create your Amazon account button
#Search Strategy: by locating the link text
//a[text()='Create your Amazon account']