gleanerio / gleaner

Gleaner: JSON-LD and structured data on the web harvesting
https://gleaner.io
Apache License 2.0
17 stars 10 forks source link

Headless rework to implement headlessWait in javascript and make headless testable #153

Closed valentinedwv closed 1 year ago

valentinedwv commented 1 year ago

Addresses headless issues #152, and #127 Added code to test the Headless sans need to upload file to s3.

Implemented a sleep in the headless javascript to allow for a wait for the page to be rendered, even though DOMContentEventFired has been fired.

As suggested bymafredri now using LoadEventFired Leaving in the headless wait incase it is needed later ;0