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

may i set_listener with domcontentloaded and load event? #16

Closed
lexy0093 opened this issue Feb 5, 2018 · 2 comments
Closed

may i set_listener with domcontentloaded and load event? #16

lexy0093 opened this issue Feb 5, 2018 · 2 comments

Comments

@lexy0093
Copy link

lexy0093 commented Feb 5, 2018

may i set_listener with domcontentloaded and load event?

@lexy0093 lexy0093 changed the title may i may i set_listener with domcontentloaded and load event? Feb 5, 2018
@einverne
Copy link

einverne commented Mar 5, 2018

You can do this.

def dom_content_event_fired(**kwargs):
    print "[content] dom content event fired"

tab.set_listener("Page.domContentEventFired", dom_content_event_fired)

@fate0
Copy link
Owner

fate0 commented Mar 13, 2018

thanks @einverne

@fate0 fate0 closed this as completed Mar 13, 2018
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

3 participants