Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
playwright._impl._locator.Locator Class Reference

Public Member Functions

None __init__ (self, "Frame" frame, str selector, Union[str, Pattern[str]] has_text=None, Union[str, Pattern[str]] has_not_text=None, "Locator" has=None, "Locator" has_not=None, bool visible=None)
 
str __repr__ (self)
 
"Page" page (self)
 
Optional[FloatRectbounding_box (self, float timeout=None)
 
None check (self, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None)
 
None click (self, Sequence[KeyboardModifier] modifiers=None, Position position=None, float delay=None, MouseButton button=None, int clickCount=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None, int steps=None)
 
None dblclick (self, Sequence[KeyboardModifier] modifiers=None, Position position=None, float delay=None, MouseButton button=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None, int steps=None)
 
None dispatch_event (self, str type, Dict eventInit=None, float timeout=None)
 
Any evaluate (self, str expression, Serializable arg=None, float timeout=None)
 
Any evaluate_all (self, str expression, Serializable arg=None)
 
"JSHandle" evaluate_handle (self, str expression, Serializable arg=None, float timeout=None)
 
None fill (self, str value, float timeout=None, bool noWaitAfter=None, bool force=None)
 
None clear (self, float timeout=None, bool noWaitAfter=None, bool force=None)
 
"Locator" locator (self, Union[str, "Locator"] selectorOrLocator, Union[str, Pattern[str]] hasText=None, Union[str, Pattern[str]] hasNotText=None, "Locator" has=None, "Locator" hasNot=None)
 
"Locator" get_by_alt_text (self, Union[str, Pattern[str]] text, bool exact=None)
 
"Locator" get_by_label (self, Union[str, Pattern[str]] text, bool exact=None)
 
"Locator" get_by_placeholder (self, Union[str, Pattern[str]] text, bool exact=None)
 
"Locator" get_by_role (self, AriaRole role, bool checked=None, bool disabled=None, bool expanded=None, bool includeHidden=None, int level=None, Union[str, Pattern[str]] name=None, bool pressed=None, bool selected=None, bool exact=None)
 
"Locator" get_by_test_id (self, Union[str, Pattern[str]] testId)
 
"Locator" get_by_text (self, Union[str, Pattern[str]] text, bool exact=None)
 
"Locator" get_by_title (self, Union[str, Pattern[str]] text, bool exact=None)
 
"FrameLocator" frame_locator (self, str selector)
 
ElementHandle element_handle (self, float timeout=None)
 
List[ElementHandleelement_handles (self)
 
"Locator" first (self)
 
"Locator" last (self)
 
"Locator" nth (self, int index)
 
"FrameLocator" content_frame (self)
 
"Locator" describe (self, str description)
 
Optional[str] description (self)
 
"Locator" filter (self, Union[str, Pattern[str]] hasText=None, Union[str, Pattern[str]] hasNotText=None, "Locator" has=None, "Locator" hasNot=None, bool visible=None)
 
"Locator" or_ (self, "Locator" locator)
 
"Locator" and_ (self, "Locator" locator)
 
None focus (self, float timeout=None)
 
None blur (self, float timeout=None)
 
List["Locator"] all (self)
 
int count (self)
 
None drag_to (self, "Locator" target, bool force=None, bool noWaitAfter=None, float timeout=None, bool trial=None, Position sourcePosition=None, Position targetPosition=None, int steps=None)
 
Optional[str] get_attribute (self, str name, float timeout=None)
 
None hover (self, Sequence[KeyboardModifier] modifiers=None, Position position=None, float timeout=None, bool noWaitAfter=None, bool force=None, bool trial=None)
 
str inner_html (self, float timeout=None)
 
str inner_text (self, float timeout=None)
 
str input_value (self, float timeout=None)
 
bool is_checked (self, float timeout=None)
 
bool is_disabled (self, float timeout=None)
 
bool is_editable (self, float timeout=None)
 
bool is_enabled (self, float timeout=None)
 
bool is_hidden (self, float timeout=None)
 
bool is_visible (self, float timeout=None)
 
None press (self, str key, float delay=None, float timeout=None, bool noWaitAfter=None)
 
bytes screenshot (self, float timeout=None, Literal["jpeg", "png"] type=None, Union[str, pathlib.Path] path=None, int quality=None, bool omitBackground=None, Literal["allow", "disabled"] animations=None, Literal["hide", "initial"] caret=None, Literal["css", "device"] scale=None, Sequence["Locator"] mask=None, str maskColor=None, str style=None)
 
str aria_snapshot (self, float timeout=None)
 
None scroll_into_view_if_needed (self, float timeout=None)
 
List[str] select_option (self, Union[str, Sequence[str]] value=None, Union[int, Sequence[int]] index=None, Union[str, Sequence[str]] label=None, Union["ElementHandle", Sequence["ElementHandle"]] element=None, float timeout=None, bool noWaitAfter=None, bool force=None)
 
None select_text (self, bool force=None, float timeout=None)
 
None set_input_files (self, Union[str, pathlib.Path, FilePayload, Sequence[Union[str, pathlib.Path]], Sequence[FilePayload],] files, float timeout=None, bool noWaitAfter=None)
 
None tap (self, Sequence[KeyboardModifier] modifiers=None, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None)
 
Optional[str] text_content (self, float timeout=None)
 
None type (self, str text, float delay=None, float timeout=None, bool noWaitAfter=None)
 
None press_sequentially (self, str text, float delay=None, float timeout=None, bool noWaitAfter=None)
 
None uncheck (self, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None)
 
List[str] all_inner_texts (self)
 
List[str] all_text_contents (self)
 
None wait_for (self, float timeout=None, Literal["attached", "detached", "hidden", "visible"] state=None)
 
None set_checked (self, bool checked, Position position=None, float timeout=None, bool force=None, bool noWaitAfter=None, bool trial=None)
 
None highlight (self)
 

Protected Member Functions

_with_element (self, Callable[[ElementHandle, float], Awaitable[T]] task, float timeout=None)
 
bool _equals (self, "Locator" locator)
 
FrameExpectResult _expect (self, str expression, FrameExpectOptions options, str title=None)
 

Protected Attributes

 _frame
 
 _selector
 
 _loop
 
 _dispatcher_fiber
 

The documentation for this class was generated from the following file: