question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I installed phantomJs to run the tests there, but when i enter a test and trying to use a waitForElement it is not working.

    let executingDir () = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)

    configuration.phantomJSDir <- executingDir()
    start phantomJS

Anybody had some experience running phantonJS browser with canopy?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fa10commented, Nov 24, 2016

Hi,

I spent some time on getting the canopy tests result into the TFS build process. The solution i came up with is that i use your JUnitRunner. The steps is listed below:

  • Setup JUnitRunner in your F# console application.
  • Add Powershell script to your F# console application that executes the .exe that is generated.
  • Add TFS build step that runs the powershell script.
  • Add TFS build step “Publish Tests Results” (Select JUnit and add the path to your TestResults.xml)
1reaction
fa10commented, Nov 20, 2016

@lefthandedgoat Thank you for your answers, i really appreciate it!

I skipped the part with PhantomJs and just going to run it on Chrome in the build process. Still going to see if I can make it work with PhantomJs.

The TFS runner is something that i am working on now, and will let you know when I have a solution for it. Then if you want i can create a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PhantomJS - Scriptable Headless Browser
PhantomJS is a headless web browser scriptable with JavaScript. It runs on Windows, macOS, Linux, and FreeBSD. Using QtWebKit as the back-end, it...
Read more >
ariya/phantomjs: Scriptable Headless Browser
PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. The latest stable release is version 2.1.
Read more >
phantomjs
Headless WebKit with JS API. Latest version: 2.1.7, last published: 7 years ago. Start using phantomjs in your project by running `npm i ......
Read more >
PhantomJsCloud API Service - It just works!
A web-browser hosted as a service, using Chrome (via Puppeteer or PhantomJs) to render your javascript heavy webpages as HTML, PDF, JPEG, PNG,...
Read more >
PhantomJS - Wikipedia
PhantomJS is a discontinued headless browser used for automating web page interaction. PhantomJS provides a JavaScript API enabling automated navigation, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found