-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e33f482
commit 09b8341
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from selenium import webdriver | ||
from selenium.webdriver.common.by import By | ||
|
||
class Profile: | ||
email = (By.XPATH, '//*[@type="email"]') | ||
password = (By.XPATH, '//*[@type="password"]') | ||
login_button = (By.XPATH, '//button[text()="Login"]') | ||
full_name_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[1]/div[2]/p') | ||
email_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[2]/div[2]/p') | ||
telegram_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[3]/div[2]/a') | ||
birthday_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[4]/div[2]/p') | ||
team_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[5]/div[2]/p') | ||
phone_number_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[6]/div[2]/p') | ||
socail_insurance_number_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[7]/div[2]/p') | ||
address_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[8]/div[2]/p') | ||
joining_date_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[9]/div[2]/p') | ||
location_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[10]/div[2]/p') | ||
joining_date_text = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[1]/div/div[9]/div[2]/p') | ||
skills_list = (By.XPATH, '//*[@id="body-pd"]/div[2]/section/div/div/div[2]/div[2]/div[1]/div/div[2]') | ||
|
||
|
||
|