Open grammy-jiang opened 4 years ago
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: ...
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.
This PR try to fix the typing hint for the return of Page.cookies().
From the docstring it is said:
And also I have tested this method, the result shows the return is a list of dictionaries.