Skip to main content

robotframework-libraryproxy

Simple library for calling RobotFramework keywords from Python, with the possibility to log them in the output.

Example Python library:

from Browser import Browser
from robotlibraryproxy import library_proxy

def do_something_in_browser(self):
    with library_proxy(Browser) as browser:
        browser.new_browser(headless=False)
        browser.new_page("https://example.com")
        browser.click("text=More Information...")

or another way as python descriptor:

from Browser import Browser
from robotlibraryproxy import library_proxy


class Dummy:

    browser: Browser = library_proxy()

    def do_something_in_browser(self):
        self.browser.new_browser(headless=False)
        self.browser.new_page("https://example.com")
        self.browser.click("text=More Information...")

Example Test case that uses this library:

*** Settings ***

Library    Dummy.py

# Library    Browser

*** Test Cases ***

a simple test
    Do Something In Browser

An excerpt from the Robot log:

Example from robot log

more comming soon...

Release files for robotframework-libraryproxy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-libraryproxy 0.3.0
File Size Uploaded
robotframework_libraryproxy-0.3.0.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-libraryproxy 0.3.0
File Interpreter ABI Platform
robotframework_libraryproxy-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / robotframework_libraryproxy-0.3.0.tar.gz

Download URL robotframework_libraryproxy-0.3.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
99f6136abdfd124d0af625f722a06fbe29c1eda0444c97ccf729b83e0aae46be
BLAKE2b-256 checksum
How to use checksums
b0142402dbc54270a31240250af656ede719e89dfed729b2e40efd5d675b381f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / robotframework_libraryproxy-0.3.0-py3-none-any.whl

Download URL robotframework_libraryproxy-0.3.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ec49118f1587248cf2ac0c05ac95353f5cdba9837a240e4be5e56017fb7ab5d
BLAKE2b-256 checksum
How to use checksums
00e9ffde293b79d1fb9099f5370dd9e6c3545bc9f18aeacbb5b259d458b870cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page