Interaction
Interacting with a Browser instance
Cookie inheritance
>>> resp = hrequests.get('https://somewebsite.com')
>>> page = resp.render()>>> page.cookies: RequestsCookieJar # cookies are inherited from the session
<RequestsCookieJar[Cookie(version=0, name='1P_JAR', value='2023-07-05-20', port=None, port_specified=False, domain='.somewebsite.com', domain_specified=True...Pulling page data
>>> page.url: str
https://www.somewebsite.com/>>> page.text: str
'<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world\'s information, including webpag'
>>> page.content: bytes
b'<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world\'s information, including webpag'>>> page.status_code: int
200
>>> page.reason: str
'OK'Navigate the browser
Controlling elements
Check page elements
Awaiting events
Last updated