mirror of
https://github.com/kevin-DL/ShortMe-URL-Shortener.git
synced 2026-01-16 05:04:39 +00:00
Initial commit
This commit is contained in:
12
app/tests/front_end_testing/total_clicks/total_clicks.py
Normal file
12
app/tests/front_end_testing/total_clicks/total_clicks.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from app.tests.utilities import selenium_utility
|
||||
|
||||
|
||||
class TotalClicks(selenium_utility.SeleniumUtility):
|
||||
_url_input_locator = '//p[@id="total-p"]'
|
||||
|
||||
def __init__(self, driver):
|
||||
self.driver = driver
|
||||
super().__init__(driver)
|
||||
|
||||
def get_total_paragraph_text(self):
|
||||
return self.get_element(self._url_input_locator).text
|
||||
Reference in New Issue
Block a user