Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abstract_markdown_browser.py #4850

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,26 @@ def find_on_page(self, query: str) -> Union[str, None]:
@abstractmethod
def find_next(self) -> Union[str, None]:
pass

@abstractmethod
def extract_tables(self) -> list:
"""
Extract tables from the Markdown content and return them as Python objects.
"""
pass

@abstractmethod
def wait_for_render(self, timeout: int) -> None:
"""
Wait for the dynamic content to render within the specified timeout.
"""
pass

@abstractmethod
def get_logs(self) -> list:
"""
Retrieve logs of browser activities and errors.
"""
pass