Skip to content

Commit

Permalink
add filter selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudRedaSayed committed Aug 23, 2023
1 parent 1892a31 commit 3a084da
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from selenium import webdriver

Check failure on line 1 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L1

'selenium.webdriver' imported but unused (F401)
from selenium.webdriver.common.by import By

class Filter:

Check failure on line 4 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L4

Expected 2 blank lines, found 1 (E302)
email = (By.XPATH, '//*[@type="email"]')
password = (By.XPATH, '//*[@type="password"]')
login_button = (By.XPATH, '//button[text()="Login"]')
event_filter_button=(By.XPATH,'//*[@id="body-pd"]/div[2]/div/div/div/div[1]/div[1]/div[2]/div')

Check failure on line 8 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L8

Missing whitespace around operator (E225)

Check failure on line 8 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L8

Missing whitespace after ',' (E231)

Check failure on line 8 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L8

Line too long (99 > 79 characters) (E501)
vacation_filter_button=(By.XPATH,'//*[@id="body-pd"]/div[2]/div/div/div/div[1]/div[1]/div[3]/div')

Check failure on line 9 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L9

Missing whitespace around operator (E225)

Check failure on line 9 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L9

Missing whitespace after ',' (E231)

Check failure on line 9 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L9

Line too long (102 > 79 characters) (E501)
birthday_filter_button=(By.XPATH,'//*[@id="body-pd"]/div[2]/div/div/div/div[1]/div[1]/div[4]/div')

Check failure on line 10 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L10

Missing whitespace around operator (E225)

Check failure on line 10 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L10

Missing whitespace after ',' (E231)

Check failure on line 10 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L10

Line too long (102 > 79 characters) (E501)
meeting_filter_button=(By.XPATH,'//*[@id="body-pd"]/div[2]/div/div/div/div[1]/div[1]/div[1]')

Check failure on line 11 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L11

Missing whitespace around operator (E225)

Check failure on line 11 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L11

Missing whitespace after ',' (E231)

Check failure on line 11 in pages/filter.py

View workflow job for this annotation

GitHub Actions / Flake8

pages/filter.py#L11

Line too long (97 > 79 characters) (E501)

0 comments on commit 3a084da

Please sign in to comment.