Uses of Interface
com.microsoft.playwright.ElementHandle
-
Packages that use ElementHandle Package Description com.microsoft.playwright -
-
Uses of ElementHandle in com.microsoft.playwright
Methods in com.microsoft.playwright that return ElementHandle Modifier and Type Method Description default ElementHandleFrame. addScriptTag()Returns the added tag when the script's onload fires or when the script content was injected into frame.ElementHandleFrame. addScriptTag(Frame.AddScriptTagOptions options)Returns the added tag when the script's onload fires or when the script content was injected into frame.default ElementHandlePage. addScriptTag()Adds a<script>tag into the page with the desired url or content.ElementHandlePage. addScriptTag(Page.AddScriptTagOptions options)Adds a<script>tag into the page with the desired url or content.default ElementHandleFrame. addStyleTag()Returns the added tag when the stylesheet's onload fires or when the CSS content was injected into frame.ElementHandleFrame. addStyleTag(Frame.AddStyleTagOptions options)Returns the added tag when the stylesheet's onload fires or when the CSS content was injected into frame.default ElementHandlePage. addStyleTag()Adds a<link rel="stylesheet">tag into the page with the desired url or a<style type="text/css">tag with the content.ElementHandlePage. addStyleTag(Page.AddStyleTagOptions options)Adds a<link rel="stylesheet">tag into the page with the desired url or a<style type="text/css">tag with the content.ElementHandleJSHandle. asElement()Returns eithernullor the object handle itself, if the object handle is an instance ofElementHandle.ElementHandleFileChooser. element()Returns input element associated with this file chooser.default ElementHandleLocator. elementHandle()Resolves given locator to the first matching DOM element.ElementHandleLocator. elementHandle(Locator.ElementHandleOptions options)Resolves given locator to the first matching DOM element.ElementHandleFrame. frameElement()Returns theframeoriframeelement handle which corresponds to this frame.ElementHandleElementHandle. querySelector(String selector)The method finds an element matching the specified selector in theElementHandle's subtree.default ElementHandleFrame. querySelector(String selector)Returns the ElementHandle pointing to the frame element.ElementHandleFrame. querySelector(String selector, Frame.QuerySelectorOptions options)Returns the ElementHandle pointing to the frame element.default ElementHandlePage. querySelector(String selector)The method finds an element matching the specified selector within the page.ElementHandlePage. querySelector(String selector, Page.QuerySelectorOptions options)The method finds an element matching the specified selector within the page.default ElementHandleElementHandle. waitForSelector(String selector)Returns element specified by selector when it satisfiesstateoption.ElementHandleElementHandle. waitForSelector(String selector, ElementHandle.WaitForSelectorOptions options)Returns element specified by selector when it satisfiesstateoption.default ElementHandleFrame. waitForSelector(String selector)Returns when element specified by selector satisfiesstateoption.ElementHandleFrame. waitForSelector(String selector, Frame.WaitForSelectorOptions options)Returns when element specified by selector satisfiesstateoption.default ElementHandlePage. waitForSelector(String selector)Returns when element specified by selector satisfiesstateoption.ElementHandlePage. waitForSelector(String selector, Page.WaitForSelectorOptions options)Returns when element specified by selector satisfiesstateoption.Methods in com.microsoft.playwright that return types with arguments of type ElementHandle Modifier and Type Method Description List<ElementHandle>Locator. elementHandles()Resolves given locator to all matching DOM elements.List<ElementHandle>ElementHandle. querySelectorAll(String selector)The method finds all elements matching the specified selector in theElementHandles subtree.List<ElementHandle>Frame. querySelectorAll(String selector)Returns the ElementHandles pointing to the frame elements.List<ElementHandle>Page. querySelectorAll(String selector)The method finds all elements matching the specified selector within the page.Methods in com.microsoft.playwright with parameters of type ElementHandle Modifier and Type Method Description default List<String>ElementHandle. selectOption(ElementHandle values)This method waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.default List<String>ElementHandle. selectOption(ElementHandle[] values)This method waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>ElementHandle. selectOption(ElementHandle[] values, ElementHandle.SelectOptionOptions options)This method waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>ElementHandle. selectOption(ElementHandle values, ElementHandle.SelectOptionOptions options)This method waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.default List<String>Frame. selectOption(String selector, ElementHandle values)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.default List<String>Frame. selectOption(String selector, ElementHandle[] values)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>Frame. selectOption(String selector, ElementHandle[] values, Frame.SelectOptionOptions options)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>Frame. selectOption(String selector, ElementHandle values, Frame.SelectOptionOptions options)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.default List<String>Locator. selectOption(ElementHandle values)Selects option or options in<select>.default List<String>Locator. selectOption(ElementHandle[] values)Selects option or options in<select>.List<String>Locator. selectOption(ElementHandle[] values, Locator.SelectOptionOptions options)Selects option or options in<select>.List<String>Locator. selectOption(ElementHandle values, Locator.SelectOptionOptions options)Selects option or options in<select>.default List<String>Page. selectOption(String selector, ElementHandle values)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.default List<String>Page. selectOption(String selector, ElementHandle[] values)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>Page. selectOption(String selector, ElementHandle[] values, Page.SelectOptionOptions options)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.List<String>Page. selectOption(String selector, ElementHandle values, Page.SelectOptionOptions options)This method waits for an element matchingselector, waits for actionability checks, waits until all specified options are present in the<select>element and selects these options.
-