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

Should allow user define wait selector #1

Open
thangman22 opened this issue Feb 22, 2018 · 3 comments
Open

Should allow user define wait selector #1

thangman22 opened this issue Feb 22, 2018 · 3 comments

Comments

@thangman22
Copy link

In case of cUrl is confirm that all element is loaded before return. domcurl should do it same

Solution
allow user to pass selector that user want to wait with --wait-selector -w

@PaulKinlan
Copy link
Owner

@thangman22
Copy link
Author

Let me try in my case

@thangman22
Copy link
Author

@PaulKinlan after try --waituntil it is not my expect because Dom is load but my content from Ajax is not loaded. I will open PR with what I thought.

Example
if you access https://thangman22.com/ under the blog will showed loading at start and loading content from Ajax. I want domcurl to wait Ajax loaded.

API should look like
parameter should pass as CSSselector with --wait-selector

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

2 participants