MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / __call__

Method __call__

seleniumbase/undetected/cdp_driver/tab.py:1916–1930  ·  view source on GitHub ↗

Alias to query_selector_all or find_elements_by_text, depending on whether text= is set or selector= is set. :param selector: css selector string :type selector: str

(
        self,
        text: Optional[str] = "",
        selector: Optional[str] = "",
        timeout: Optional[Union[int, float]] = 10,
    )

Source from the content-addressed store, hash-verified

1914 )
1915
1916 def __call__(
1917 self,
1918 text: Optional[str] = "",
1919 selector: Optional[str] = "",
1920 timeout: Optional[Union[int, float]] = 10,
1921 ):
1922 """
1923 Alias to query_selector_all or find_elements_by_text,
1924 depending on whether text= is set or selector= is set.
1925 :param selector: css selector string
1926 :type selector: str
1927 """
1928 return self.wait_for(
1929 selector=selector, text=text, timeout=timeout
1930 )
1931
1932 def __eq__(self, other: Tab):
1933 try:

Callers

nothing calls this directly

Calls 1

wait_forMethod · 0.95

Tested by

no test coverage detected