Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM.getTopLayerElements() return empty list? #61

Closed
pxpwoa opened this issue Mar 27, 2023 · 0 comments
Closed

DOM.getTopLayerElements() return empty list? #61

pxpwoa opened this issue Mar 27, 2023 · 0 comments

Comments

@pxpwoa
Copy link

pxpwoa commented Mar 27, 2023

browser = pychrome.Browser(url="http://127.0.0.1:9222")
# create a tab
tab = browser.new_tab()
tab.start()
tab.DOM.enable()
tab.Page.navigate(url="https://www.bing.com", _timeout=5)
tab.DOM.getTopLayerElements()

output:
{'nodeIds': []}

@pxpwoa pxpwoa closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant