User Tools

Site Tools


en:objects:interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:objects:interface [2020/10/06 21:21]
sales created
en:objects:interface [2026/08/05 22:29] (current)
Line 4: Line 4:
 Object for managing elements on the current page (direct link to the element) - <i>available from version 4.6.28</i><br> Object for managing elements on the current page (direct link to the element) - <i>available from version 4.6.28</i><br>
  
-<br>to work with direct interfaces to DOM objects, use the following <a href=http://humanemulator.net/wiki/doku.php?id=en:objects:common.php#get_dom>functions</a> that get and create these objects.<br><br>+<br>to work with direct interfaces to DOM objects, use the following <a href=http://humanemulator.net/wiki/doku.php?id=en:objects:common#get_dom>functions</a> that get and create these objects.<br><br>
  
 <hr><br> <hr><br>
 <font size=3> <font size=3>
-<A href="#action">Actions with the</A><br>element+<A href="#action">Actions with the element</A><br>
 <A href="#set">Change element</A><br> <A href="#set">Change element</A><br>
 <A href="#get">To obtain the properties of an item</A><br> <A href="#get">To obtain the properties of an item</A><br>
-<A href="#xy">Get the location of the</A><br>element+<A href="#xy">Get the location of the element</A><br>
 <A href="#full_mouse">Full mouse emulation over an element</A><br> <A href="#full_mouse">Full mouse emulation over an element</A><br>
 <A href="#send_mouse">event-level mouse Emulation over an element</A><br> <A href="#send_mouse">event-level mouse Emulation over an element</A><br>
 <A href="#full_keyboard">Full keyboard emulation over the element</A><br> <A href="#full_keyboard">Full keyboard emulation over the element</A><br>
-<A href="#send_keyboard">Keyboard emulation at the event level above the</A><br>element+<A href="#send_keyboard">Keyboard emulation at the event level above the element</A><br>
 <A href="#service">Auxiliary</A><br> <A href="#service">Auxiliary</A><br>
 <A href="#tree">working with the DOM tree structure</A> <A href="#tree">working with the DOM tree structure</A>
 </font> </font>
  
-<br><br><a name="action"></a><hr><br><I>Actions with the</I><br><br>element +<br><br><a name="action"></a><hr><br><I>Actions with a element</I><br> 
-<A href="/wiki/doku.php?id=en:objects:interface:action:click">click</A> – click on the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:action:click">click</A> – click on the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:action:meta_click">meta_click</A> – focus, move the mouse to the element at random coordinates, and click<br> <A href="/wiki/doku.php?id=en:objects:interface:action:meta_click">meta_click</A> – focus, move the mouse to the element at random coordinates, and click<br>
-<A href="/wiki/doku.php?id=en:objects:interface:action:event">event</A> – send an event to the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:action:event">event</A> – send an event to the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:action:check">check</A> – check the element<br> <A href="/wiki/doku.php?id=en:objects:interface:action:check">check</A> – check the element<br>
-<A href="/wiki/doku.php?id=en:objects:interface:action:focus">focus</A> – set the input focus on the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:action:focus">focus</A> – set the input focus on the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:action:scroll_to_view">scroll_to_view</A> – scroll the page so that the element is visible (via java script)<br> <A href="/wiki/doku.php?id=en:objects:interface:action:scroll_to_view">scroll_to_view</A> – scroll the page so that the element is visible (via java script)<br>
 <A href="/wiki/doku.php?id=en:objects:interface:action:ensure_visible">ensure_visible</A> – scroll the page so that the element is visible (through scrolling)<br> <A href="/wiki/doku.php?id=en:objects:interface:action:ensure_visible">ensure_visible</A> – scroll the page so that the element is visible (through scrolling)<br>
Line 31: Line 31:
 <A href="/wiki/doku.php?id=en:objects:interface:action:screenshot">screenshot</A> – take a screenshot of the element <A href="/wiki/doku.php?id=en:objects:interface:action:screenshot">screenshot</A> – take a screenshot of the element
  
-<br><br><a name="set"></a><hr><br><I>Change the</I><br><br>element+<br><br><a name="set"></a><hr><br><I>Change the element</I><br><br>
 <A href="/wiki/doku.php?id=en:objects:interface:set:set_value">set_value</A> – set the value<br> <A href="/wiki/doku.php?id=en:objects:interface:set:set_value">set_value</A> – set the value<br>
 <A href="/wiki/doku.php?id=en:objects:interface:set:set_inner_text">set_inner_text</A> – set internal text<br> <A href="/wiki/doku.php?id=en:objects:interface:set:set_inner_text">set_inner_text</A> – set internal text<br>
-<A href="/wiki/doku.php?id=en:objects:interface:set:set_inner_html">set_inner_html</A> – set internal htmlml<br>+<A href="/wiki/doku.php?id=en:objects:interface:set:set_inner_html">set_inner_html</A> – set internal html<br>
 <A href="/wiki/doku.php?id=en:objects:interface:set:add_attribute">add_attribute</A> – add attribute<br> <A href="/wiki/doku.php?id=en:objects:interface:set:add_attribute">add_attribute</A> – add attribute<br>
 <A href="/wiki/doku.php?id=en:objects:interface:set:set_attribute">set_attribute</A> – set the attribute<br> <A href="/wiki/doku.php?id=en:objects:interface:set:set_attribute">set_attribute</A> – set the attribute<br>
Line 48: Line 48:
 <A href="/wiki/doku.php?id=en:objects:interface:get:get_outer_html">get_outer_html</A> – get external htmll<br> <A href="/wiki/doku.php?id=en:objects:interface:get:get_outer_html">get_outer_html</A> – get external htmll<br>
 <A href="/wiki/doku.php?id=en:objects:interface:get:get_tag">get_tag</A> – get the object tag<br> <A href="/wiki/doku.php?id=en:objects:interface:get:get_tag">get_tag</A> – get the object tag<br>
-<A href="/wiki/doku.php?id=en:objects:interface:get:get_xpath">get_xpath</A> – get the XPath of the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:get:get_xpath">get_xpath</A> – get the XPath of a element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:get:get_value">get_value</A> – get the value<br> <A href="/wiki/doku.php?id=en:objects:interface:get:get_value">get_value</A> – get the value<br>
 <A href="/wiki/doku.php?id=en:objects:interface:get:get_href">get_href</A> – get href<br> <A href="/wiki/doku.php?id=en:objects:interface:get:get_href">get_href</A> – get href<br>
Line 59: Line 59:
 <A href="/wiki/doku.php?id=en:objects:interface:get:get_all_events">get_all_events</A> – get all events<br><br> <A href="/wiki/doku.php?id=en:objects:interface:get:get_all_events">get_all_events</A> – get all events<br><br>
  
-<A href="/wiki/doku.php?id=en:objects:interface:get:is_disabled">is_disabled</A> – check the availability of the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:get:is_disabled">is_disabled</A> – check the availability of a element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:get:is_checked">is_checked</A> – check whether the element is checked<br> <A href="/wiki/doku.php?id=en:objects:interface:get:is_checked">is_checked</A> – check whether the element is checked<br>
 <A href="/wiki/doku.php?id=en:objects:interface:get:is_visibled">is_visibled</A> – check the visibility of the element on the page<br> <A href="/wiki/doku.php?id=en:objects:interface:get:is_visibled">is_visibled</A> – check the visibility of the element on the page<br>
Line 66: Line 66:
  
 <A href= "/wiki/doku.php?id=en:objects:interface:get:get_numbers_child">get_numbers_child</A> – get child element numbers<br> <A href= "/wiki/doku.php?id=en:objects:interface:get:get_numbers_child">get_numbers_child</A> – get child element numbers<br>
-<A href="/wiki/doku.php?id=en:objects:interface:get:get_frame_number">get_frame_number</A> – get the number of the frame that contains the<br>element +<A href="/wiki/doku.php?id=en:objects:interface:get:get_frame_number">get_frame_number</A> – get the number of the frame that contains a element<br> 
-<A href="/wiki/doku.php?id=en:objects:interface:get:get_form_number">get_form_number</A> – get the number of the form that contains the element+<A href="/wiki/doku.php?id=en:objects:interface:get:get_form_number">get_form_number</A> – get the number of the form that contains element
  
-<br><br><a name="xy"></a><hr><br><I>Get the location of the</I><br><br>element+<br><br><a name="xy"></a><hr><br><I>Get the location of a element</I><br><br>
 <A href="/wiki/doku.php?id=en:objects:interface:xy:get_x">get_x</A> – get the X coordinate<br> <A href="/wiki/doku.php?id=en:objects:interface:xy:get_x">get_x</A> – get the X coordinate<br>
 <A href="/wiki/doku.php?id=en:objects:interface:xy:get_y">get_y</A> – get the Y coordinate<br> <A href="/wiki/doku.php?id=en:objects:interface:xy:get_y">get_y</A> – get the Y coordinate<br>
Line 75: Line 75:
 <A href="/wiki/doku.php?id=en:objects:interface:xy:get_height">get_height</A> – get height <A href="/wiki/doku.php?id=en:objects:interface:xy:get_height">get_height</A> – get height
  
-<br><br><a name="full_mouse"></a><hr><br><I>Full mouse emulation over the</I><br><br>element+<br><br><a name="full_mouse"></a><hr><br><I>Full mouse emulation over a element</I><br><br>
 <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_move">mouse_move</A> – full emulation of moving the mouse to the element<br> <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_move">mouse_move</A> – full emulation of moving the mouse to the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_move_to">mouse_move_to</A> – full emulation of moving the mouse to the element along the specified path<br> <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_move_to">mouse_move_to</A> – full emulation of moving the mouse to the element along the specified path<br>
Line 86: Line 86:
 <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_right_up">mouse_right_up</A> – full emulation of pressing the right mouse button on an element <A href="/wiki/doku.php?id=en:objects:interface:full_mouse:mouse_right_up">mouse_right_up</A> – full emulation of pressing the right mouse button on an element
  
-<br><br><a name="send_mouse"></a><hr><br><I>Mouse emulation at the event level above the</I><br><br>element+<br><br><a name="send_mouse"></a><hr><br><I>Mouse emulation at the event level above a element</I><br><br>
 <A href="/wiki/doku.php?id=en:objects:interface:send_mouse:send_mouse_move">send_mouse_move</A> – emulates the mouse move event to the element<br> <A href="/wiki/doku.php?id=en:objects:interface:send_mouse:send_mouse_move">send_mouse_move</A> – emulates the mouse move event to the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:send_mouse:send_mouse_move_to">send_mouse_move_to</A> – emulates the event of moving the mouse to the element along the specified path<br> <A href="/wiki/doku.php?id=en:objects:interface:send_mouse:send_mouse_move_to">send_mouse_move_to</A> – emulates the event of moving the mouse to the element along the specified path<br>
Line 99: Line 99:
  
 <br><br> <br><br>
-<br><br><a name="full_keyboard"></a><hr><br><I>Full mouse emulation over the</I><br><br>element +<br><br><a name="full_keyboard"></a><hr><br><I>Full mouse emulation over a element</I><br><br> 
-<A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:input">input</A> – emulates entering a string in the<br>element +<A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:input">input</A> – emulates entering a string in a element<br> 
-<A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key">key (formerly press_key_by_code before version 4.9.21)</A> – emulate keys from the keyboard to the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key">key (formerly press_key_by_code before version 4.9.21)</A> – emulate keys from the keyboard to a element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key_down">key_down</A> – emulates a key press on an element<br> <A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key_down">key_down</A> – emulates a key press on an element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key_up">key_up</A> – emulation of pressing a key on an element <A href="/wiki/doku.php?id=en:objects:interface:full_keyboard:key_up">key_up</A> – emulation of pressing a key on an element
-<br><br><a name="send_keyboard"></a><hr><br><I>Keyboard emulation at the event level above the</I><br><br>element +<br><br><a name="send_keyboard"></a><hr><br><I>Keyboard emulation at the event level above a element</I><br><br> 
-<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_input">send_input</A> – emulation of string input events in the<br>element +<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_input">send_input</A> – emulation of string input events in a element<br> 
-<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key">send_key</A> – emulation of keyboard input events in the<br>element +<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key">send_key</A> – emulation of keyboard input events in a element<br> 
-<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key_down">send_key_down</A> – emulates a keystroke event on the<br>element +<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key_down">send_key_down</A> – emulates a keystroke event on a element<br> 
-<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key_up">send_key_up</A> – emulates the key release event on the element+<A href="/wiki/doku.php?id=en:objects:interface:send_keyboard:send_key_up">send_key_up</A> – emulates the key release event on element
  
 <br><br><a name="service"></a><hr><br><I>Auxiliary</I><br><br> <br><br><a name="service"></a><hr><br><I>Auxiliary</I><br><br>
Line 118: Line 118:
 <A href="/wiki/doku.php?id=en:objects:interface:tree:add_child">add_child</A> – add a child element to the element<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:add_child">add_child</A> – add a child element to the element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:tree:insert_before">insert_before</A> – add a child element to the element<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:insert_before">insert_before</A> – add a child element to the element<br>
-<A href="/wiki/doku.php?id=en:objects:interface:tree:remove">remove</A> – remove the<br>element+<A href="/wiki/doku.php?id=en:objects:interface:tree:remove">remove</A> – remove a element<br>
 <A href="/wiki/doku.php?id=en:objects:interface:tree:get_parent">get_parent</A> – get the parent DOM interface<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:get_parent">get_parent</A> – get the parent DOM interface<br>
 <A href="/wiki/doku.php?id=en:objects:interface:tree:get_parent_by_attribute">get_parent_by_attribute</A> – get the parent DOM interface by its attribute value<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:get_parent_by_attribute">get_parent_by_attribute</A> – get the parent DOM interface by its attribute value<br>
 <A href="/wiki/doku.php?id=en:objects:interface:tree:get_next">get_next</A> – get the following DOM interface<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:get_next">get_next</A> – get the following DOM interface<br>
 <A href="/wiki/doku.php?id=en:objects:interface:tree:get_prev">get_prev</A> – get the previous DOM interface<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:get_prev">get_prev</A> – get the previous DOM interface<br>
-<A href="/wiki/doku.php?id=en:objects:interface:tree:get_child_count">get_child_count</A> – get the number of child DOM interfaces<br><br>+<A href="/wiki/doku.php?id=en:objects:interface:tree:get_child_count">get_child_count</A> – get the number of child DOM interfaces<br> 
 +<A href="/wiki/doku.php?id=en:objects:interface:tree:get_shadow_root">get_shadow_root</A> – get the Shadow Root element interface<br><br>
  
 <A href="/wiki/doku.php?id=en:objects:interface:tree:get_child_by_number">get_child_by_number</A> – get the child DOM interface with the specified number<br> <A href="/wiki/doku.php?id=en:objects:interface:tree:get_child_by_number">get_child_by_number</A> – get the child DOM interface with the specified number<br>
en/objects/interface.1602008503.txt.gz · Last modified: 2020/10/06 21:21 by sales