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

Fix the typing hint for the return of Page.cookies() #282

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

grammy-jiang
Copy link

This PR try to fix the typing hint for the return of Page.cookies().

From the docstring it is said:

If no URLs are specified, this method returns cookies for the current page URL. If URLs are specified, only cookies for those URLs are returned.

Returned cookies are list of dictionaries which contain these fields:
...

And also I have tested this method, the result shows the return is a list of dictionaries.

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

Successfully merging this pull request may close these issues.

None yet

1 participant