Skip to content

Keyword 'RobotAppEyes.Open Eyes Session' missing value for argument 'url'. #6

@xyngfei

Description

@xyngfei

Why it will have additional url argument in v1.2 when I use pip install Robot-AppEyes?
However, when i checked with the source code, I cannot find the argument 'url'

` def open_eyes_session(self, url, appname, testname, apikey, width=None,
height=None, osname=None, browsername=None,
matchlevel=None, includeEyesLog=False, httpDebugLog=False):

    global driver
    global eyes
    eyes = Eyes()
    eyes.api_key = apikey
    s2l = BuiltIn().get_library_instance('Selenium2Library')
    webdriver = s2l._current_browser()
    driver = webdriver
    if includeEyesLog is True:
        logger.set_logger(StdoutLogger())
        logger.open_()
    if httpDebugLog is True:
        httplib.HTTPConnection.debuglevel = 1
    if osname is not None:
        eyes.host_os = osname  # (str)
    if browsername is not None:
        eyes.host_app = browsername  # (str)
    if matchlevel is not None:
        eyes.match_level = matchlevel
    if width is None and height is None:
        eyes.open(driver, appname, testname)
    else:
        intwidth = int(width)
        intheight = int(height)
        eyes.open(driver, appname, testname, {'width': intwidth, 'height': intheight})
       driver.get(**url**)

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions