-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Milestone
Description
Reported in MarketSquare/robotframework-browser#2382
Original issue says
Describe the bug
In the documentation generated with libdoc (in JSON or libspec format), the source file for the keyword New Context is Browser/utils/deprecated.py.
To Reproduce
Steps to reproduce the behavior:
Execute libdoc Browser browser.json
Search for "name": "New Context" and then for "source":
Expected behavior
The source of the keyword New Context is
OS: Windows 10
The keyword New Context has the following definition
@keyword(tags=("Setter", "BrowserControl"))
@attribute_warning(
old_args=("videosPath", "videoSize"), new_args=("recordVideo", "recordVideo")
)
def new_context(
self,
...
)
Apparently, libdoc expects that the line after the keyword decorator is a function definition.