Using Node.js a mute hybrid browser with a selenium hybrid?

I am curious to know if any of them tried to mix packages without the w630> .js browser such as zombie.js (any other alternatives?) And the selenium browser for testing web applications.

I am attracted to node.js browser packages without a browser, because it is easier and much faster than managing a full browser through selenium. However, none of the packages without the node browser seem to support accurate rendering of html pages with javascript.

What about combining the best of the two worlds? Return to using selenium to render pages that zombie.js cannot display? How do you promote the latter? You need to know when the page has not been successfully displayed on zombie.js and launched the page in selenium browser. However, will this lag occur while waiting for selenium to load?

More importantly, what is the best browser without node.js besides zombie.js? Focus should be on the rendering page. Do you think we will ever see node.js without a browser that will replace selenium in the future?

+6
source share
1 answer

There is a mute test tool called PhantomJS , which is very good at rendering. However, this is not a Node.js. package.

I also hope that it will be ported to Node.js soon to find another package.

+5
source

Source: https://habr.com/ru/post/911697/


All Articles