Skip to content

AttributeError: 'PuppeteerLibrary' object has no attribute 'get_current_page' #135

@v8sharma

Description

@v8sharma

Robot Framework Puppeteer Library: 3.1.0

Open Browser ${URL} browser=ptchrome
${Location} Get Location
${Title} Get Title

When calling keywords Get Title or Get Location I'm getting the following error:

AttributeError: 'PuppeteerLibrary' object has no attribute 'get_current_page'

Traceback (most recent call last):
File "C:\Python37\lib\site-packages\PuppeteerLibrary_init_.py", line 200, in run_keyword
return DynamicCore.run_keyword(self, name, args, kwargs)
File "C:\Python37\lib\site-packages\PuppeteerLibrary\base\robotlibcore.py", line 88, in run_keyword
return self.keywords[name](*args, **kwargs)
File "C:\Python37\lib\site-packages\PuppeteerLibrary\keywords\browsermanagement.py", line 98, in get_location
return self.ctx.get_current_page().url
File "C:\Python37\lib\site-packages\PuppeteerLibrary\base\robotlibcore.py", line 71, in getattr
.format(type(self).name, name))

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