guibot.guibot_proxy module¶
SUMMARY¶
Remote guibot interface for proxy operations using remote visual objects.
Frontend with serialization compatible API allowing the use of PyRO modified
guibot.GuiBot
object (creating and running the same object
remotely and manipulating it locally). All the methods delegate their calls to
this object with some additional postprocessing to make the execution remote so
for information about the API please refer to it and region.Region
.
INTERFACE¶
-
guibot.guibot_proxy.
serialize_custom_error
(class_obj)[source]¶ Serialization method for the
errors.UnsupportedBackendError
which was chosen just as a sample.Parameters: class_obj (classobj) – class object for the serialized error class Returns: serialization dictionary with the class name, arguments, and attributes Return type: {str, str or getset_descriptor or dictproxy}
-
guibot.guibot_proxy.
register_exception_serialization
()[source]¶ We put here any exceptions that are too complicated for the default serialization and define their serialization methods.
Note
This would not be needed if we were using the Pickle serializer but its security problems at the moment made us prefer the serpent serializer paying for it with some extra setup steps and functions below.
-
class
guibot.guibot_proxy.
GuiBotProxy
(dc=None, cv=None)[source]¶ Bases:
guibot.guibot.GuiBot
The proxy guibot object is just a wrapper around the actual guibot object that takes care of returning easily serializable PyRO proxy objects instead of the real ones or their serialized copies.
It allows you to move the mouse, type text and do any other GuiBot action from code which is executed on another machine somewhere on the network.
-
nearby
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
above
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
below
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
left
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
right
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
find
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
find_all
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
sample
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
exists
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
wait
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
wait_vanish
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
idle
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
hover
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
click
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
right_click
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
middle_click
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
double_click
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
multi_click
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
click_expect
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
click_vanish
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
click_at_index
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
mouse_down
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
mouse_up
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
mouse_scroll
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
drag_drop
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
drag_from
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
drop_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
press_keys
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
press_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
press_expect
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
press_vanish
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
type_text
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
type_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
click_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
fill_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-
select_at
(*args, **kwargs)[source]¶ See
guibot.guibot.GuiBot
and its inheritedguibot.region.Region
for details.
-