Skip to content

Would like a way to externally set "robotpageobjects.page.in_ld" #55

@boakley

Description

@boakley

The Page.get_keyword_names function attempts to auto-detect that it is running from within libdoc, and returns an abridged version of the keywords (ie: it doesn't include aliases). This is great when generating documentation from libdoc, but not so great when generating documentation from other documentation tools (think: robotframework-hub, and maybe others).

It would be nice if there was a public, documented way to set this flag. What I'm doing now is import robotpageobjects.page; robotpageobjects.page.in_ld=True, but that seems sketchy and prone to breaking in future releases of the pageobjects code.

I would like a supported way to flip this bit. Perhaps a class method (Page.set_keyword_mode("libdoc")) or at least a guarantee that robotpageobjects.in_ld is public, and won't change in future versions of the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions