Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

AttributeError: 'coroutine' object has no attribute 'goto' #268

Open
asos-gianlucacolucci opened this issue Nov 16, 2019 · 0 comments
Open

Comments

@asos-gianlucacolucci
Copy link

asos-gianlucacolucci commented Nov 16, 2019

Running this code:

`
browser = await launch()
context = await browser.createIncognitoBrowserContext()

page = browser.newPage()

await page.goto('https://www.test.com')
await page.screenshot({'path': 'debug.png'})
`

and getting this:


AttributeError Traceback (most recent call last)
cell_name in async-def-wrapper()

AttributeError: 'coroutine' object has no attribute 'goto'


Any hint? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant