len(_cdp_domains), [d['domain'] for d in _cdp_domains[:5]](55, ['Accessibility', 'Animation', 'Audits', 'Autofill', 'BackgroundService'])
(55, ['Accessibility', 'Animation', 'Audits', 'Autofill', 'BackgroundService'])
Search CDP domains and commands by name or description
'Audits.checkFormsIssues: Runs the form issues check for the target page. Found issues are reported\nu'
Chrome DevTools Protocol connection with event support
'4. Example Domain'
Initialize self. See help(type(self)) for accurate signature.
Initialize self. See help(type(self)) for accurate signature.
'4. Example Domain'
Wait for CSS selector to match an element
Wait for JS expression to be truthy, return its value
True
Initialize self. See help(type(self)) for accurate signature.
Initialize self. See help(type(self)) for accurate signature.
Create a new tab, return Page
True
Allow all CDP classes in safepyrun
Context manager for CDP event subscription
'6. httpbin.org/forms/post'
{'nodeId': '2',
'ignored': False,
'role': {'type': 'internalRole', 'value': 'RootWebArea'},
'chromeRole': {'type': 'internalRole', 'value': 144},
'name': {'type': 'computedString',
'value': '6. httpbin.org/forms/post',
'sources': [{'type': 'relatedElement', 'attribute': 'aria-labelledby'},
{'type': 'attribute', 'attribute': 'aria-label'},
{'type': 'attribute', 'attribute': 'aria-label', 'superseded': True},
{'type': 'relatedElement',
'value': {'type': 'computedString', 'value': '6. httpbin.org/forms/post'},
'nativeSource': 'title'}]},
'properties': [{'name': 'focusable',
'value': {'type': 'booleanOrUndefined', 'value': True}},
{'name': 'url',
'value': {'type': 'string', 'value': 'https://httpbin.org/forms/post'}}],
'childIds': ['19'],
'backendDOMNodeId': 2,
'frameId': 'DED6AD4E409638E475109A9463285F29'}
Approach to having LLM interact with screen:
Accessibility.enable on the sessionAccessibility.getFullAXTree to get all nodes