browser
browser copied to clipboard
Lightpanda: the headless browser designed for AI and automation
After all I'm not sure this PR is useful. I put it on hold for now.
```js const req = new XMLHttpRequest(); req.open('GET', 'index.html'); ``` ```console SyntaxError: TODO message ```
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style https://drafts.csswg.org/cssom/#dom-elementcssinlinestyle-style ```js let a = document.createElement('a'); a.style.maxHeight == '0px' ```
In order to prepare CDP. Usage: ```sh curl -d "let content = document.getElementById('content')" http://127.0.0.1:8080 curl -d "content.getAttribute('id') === 'content'" http://127.0.0.1:8080 curl -d "exit" http://127.0.0.1:8080 # to close the server ```
Relates with #48 Add a `--console` option to the `get` command to start a shell REPL once the page is loaded.
When working on a branch it's convenient to run test only for this case at debug stage, before running all tests. Relates to https://github.com/Browsercore/jsruntime-lib/issues/147
According with the MDN documentation, the DOM tree events must bubble untli the window object. > In addition to the events listed below, many events can bubble from the [Document](https://developer.mozilla.org/en-US/docs/Web/API/Document)...
When the HTML contains a META tag with a different encoding than the one used to parse the document, a `c.DOM_HUBBUB_HUBBUB_ERR_ENCODINGCHANGE` error is returned by netsurf. In this case, we...