Description
QWebEnginePage::runJavaScript works immediately without caring the existence of the DOM, which is useless in most senarios, so I think we should adjust QWebEnginePage::runJavaScript to work at least until QWebEngineScript::DocumentCreation, or else people may run into my problem https://stackoverflow.com/questions/56643674/cannot-change-backgroundimage-using-qwebenginepagerunjavascript
If don't intend to adjust the behavior , at least should specify it in the doc of QWebEnginePage::runJavaScript , it would be better to tip users to use QWebEngineScript for a more flexible control of running JavaScript in the doc.