4 ms·
I have an idea to give Servo a great use case. At this moment, for crawling websites and testing web apps phantomjs and Selenium are used. While those libraries
by whazor 11y ago
I have an idea to give Servo a great use case. At this moment, for crawling websites and testing web apps phantomjs and Selenium are used. While those libraries are okay, it can definitely be replaced by something better.
- ZenoArrow 11y agoPhantomJS is based on WebKit, which is a commonly used HTML rendering engine, using Servo in PhantomJS will only make sense once Servo has double digit market share. Selenium isn't a browser engine, so not sure how Servo could replace it.
- sandstrom 11y agoI don't think its a terrible idea. There has been talk in PhantomJS on making multiple engines available. It's the 11th most commented issue[1], out of 1k+ issues. Sometimes a broadly used browser-engine is important, but other things servo could be useful. One issue with PhantomJS (on webkit) is that it crashes quite frequently and use a lot of memory[2], areas where Servo may do better. [1] https://github.com/ariya/phantomjs/issues/10209 https://github.com/ariya/phantomjs/issues/10209 [2] https://github.com/ariya/phantomjs/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+memory https://github.com/ariya/phantomjs/issues?utf8=%E2%9C%93&q=i...