User Tools

Site Tools


en:objects:interface

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:objects:interface [2020/10/07 12:45]
sales
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>
Line 34: Line 34:
 <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.1602063911.txt.gz · Last modified: 2020/10/07 12:45 by sales