Skip to content

Combining Open Browserand Create Webdriverkeywords  #701

@aaltat

Description

@aaltat
  • Take KW args in use
    • Open Browser is made in are where kwargs where not available from Robot Framework. The kwargs could allow creating the browser in more generic way
    • could pass the desired_capabilities in dictionary. Also should support other configuration options from
  • One keyword only to handle the opening the browser
    It should be possible to move many things from Create Webdriverkeyword toOpen Browser` keyword. Then we should create pubic API to register the browser/driver to S2L side, so that user could create the browser/driver in the python code as they want.
  • See what selenium API supports
    The might be some difficult scenarios with selenium API, which can not be handled with vargars and kwargs. But documenting and creating public API for registering these should be enough.
  • Think should Open Browser keyword open always keyword or should it reuse existing browser
    There is use case where the Open Browser keyword could do the same thing as Go To keyword if the browser is already open. Think how to do it.

To better support what Create WebDriver keywords enables to do, it might the argument signature of the Open Keyword should be changed, or perhaps Open Browser 2 keywords should be created.
Now the argument signature is:

| Open Browser | url | browser=firefox | alias=None | remote_url=False | desired_capabilities=None | |ff_profile_dir=None |

But it might better to have:

| Open Browser | url | browser=chrome | alias=None | remote_url=False | desired_capabilities=None | options=None |  service_log_path=None | ff_profile_dir=None |

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions