Questions tagged [triflejs]

trifleJS is a headless browser automation tool that ports the API of PhantomJS to drive Internet Explorer. It can be used for test automation and web scraping. Scripts are written in JavaScript.

A headless Internet Explorer browser using the .NET WebBrowser Class with a Javascript API running on the V8 engine. The API is coded as a port of PhantomJS which is perfect for test automation. If you have used phantom before then you already know how to use TrifleJS.

enter image description here

It supports different version of IE interchangeably depending on the current version installed (IE9 can emulate IE7, IE8 or IE9 but not IE10).

C:> TrifleJS.exe --emulate=IE8 --render=http://whatbrowser.org/
2 questions
1
vote
1 answer

Selenium headless browser testing using Triflejs

I am having some UI testcases, which are run using a Azure DevOps release pipeline. These testcases are working in Chrome and Firefox when I enable headless mode. Now I want to enable a headless mode for Internet Explorer(IE11). When I searched on…
0
votes
1 answer

TrifleJS quitting; "Unexpected ."

Can somebody tell me what is wrong with my syntax? While running this code in trifle JS it tells me that . is unexpected at (2,4). var page = require('webpage').create(), page.open("http://www.phantomjs.org", function(status) { if (…
Aero
  • 117
  • 2
  • 8