Should allow user define wait selector
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
Are you looking for a after 'load', 'domcontentloaded' or https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagewaitforselectororfunctionortimeout-options-args
Let me try in my case
@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