chazkii / chromewhip

Scriptable Google Chrome™ as a HTTP service + asyncio driver
MIT License
118 stars 16 forks source link

TypeError: Cannot read property 'outerHTML' of null #17

Open xash3000 opened 4 years ago

xash3000 commented 4 years ago

I just started using chromewhip so I'm not sure if this is a bug or a problem from my side.

I started chromewhip service inside docker container and every time instead of the rendered html i get the error TypeError: Cannot read property 'outerHTML' of null

keep in mind my code is inside another docker container.

here's the full error

{ "error": { "reason": "Runtime.evalulate threw an error", "error": { "exceptionId": 1, "text": "Uncaught", "lineNumber": 0, "columnNumber": 25, "scriptId": "13", "url": null, "stackTrace": null, "exception": { "type": "object", "subtype": "error", "className": "TypeError", "description": "TypeError: Cannot read property 'outerHTML' of null\n at :1:26", "objectId": "{\"injectedScriptId\":1,\"id\":2}" }, "executionContextId": null } } }

my query GET http://127.0.0.1:8080/render.html?url=https://github.com