24 lines
593 B
Python
24 lines
593 B
Python
from selenium import webdriver
|
|
from selenium.webdriver.common.by import By
|
|
from selenium.webdriver.support import expected_conditions as EC
|
|
from selenium.webdriver.support.ui import WebDriverWait
|
|
import time
|
|
|
|
class StreamService:
|
|
def __init__(self) -> None:
|
|
pass
|
|
|
|
def livestream_url(self):
|
|
raise NotImplemented()
|
|
|
|
def is_live(self):
|
|
raise NotImplemented()
|
|
|
|
def get_xpath(self):
|
|
raise NotImplemented()
|
|
|
|
def click_video_play(self):
|
|
raise NotImplemented()
|
|
|
|
def post_load_actions(self, driver):
|
|
raise NotImplemented() |