-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canopy fsx only version #148
Comments
If you want, we can put a link to it on the main gh page? |
I don't think it's ready for prime time yet. Want to get an "it just works" installation for Mono/Windows up and running. Basically someone without Visual Studio should be able to clone this repo (or download the zip) and run |
Could the .dll of Canopy be loaded as a dll and not fsx's?
or even have it so I could have a runner where I could say
|
You can use nuget.exe and install the lastest canopy. I figured that I'd just make the entire source available if you're going all FSX. The directory would be placed in the room folder and you can use the #r option like so: https://github.com/amirrajan/canopy-fsx/blob/master/canopy/runner.fsx#L6 |
I have a solution with .fs files and it can be run from Visual Studio , what should i do to run from command line without changing all files into fsx. |
If its a console app just build and run the exe. If you want to run from
|
I've adapted a script from fsharpforfunandprofit.com as below. You need to call as
|
Thank you for the reply. Yes i did execute the exe but I am trying to do it through a script fsx file. My tests are in tests.fs and im running run() them from Program.fs . Now , I want to create a script and run it with F# interactive. Do you have any example code in this kind of scenario. |
Thank you . I will try this. |
AFAIK, |
Place the script
|
I'm trying to run this: https://github.com/amirrajan/canopy-demo/blob/master/LightingTalk/Sandbox.fsx from the same project. It used to work fine, but it looks like a chrome or chromedriver update broke it. Now I get:
|
https://github.com/amirrajan/canopy-demo/blob/master/LightingTalk/Sandbox.fsx#L2-L3 Looks like its using an older version of Selenium. Update that to the latest, with latest chrome and chrome driver and it should work. |
I've updated Selenium.Webdriver and Selenium,Support to 3.0.0, ChromeDriver updated to 2.2.7, Canopy to 1.0.6. This is my current fsx file and I've double-checked to make sure the references are pointing to the right versions.
I still get the same error. |
Can you clone this and see if it works for you? https://github.com/lefthandedgoat/canopyStarterKit run build.cmd from the root folder |
BTW this works for me
Also for latest chrome driver:
|
Did you put your chrome driver in root c:\ (thats the default location) |
It was the last thing - I had a chromedriver.exe in c:\ AND in bin/debug for some reason. I had updated the one in bin/debug but it was using the one in the c:\ . Once I updated the one in c:\ it started working. Thank you some much for your help! |
Insert this line of code in your script right before
The above code looks for the chromedriver in the same folder as the script. |
Thanks Jeremy, that's good info to have. |
Anytime! 😀 |
Just wanted to leave a marker open with regards to a version of canopy that can be run without Visual Studio. Here is what I have so far: https://github.com/amirrajan/canopy-fsx
If you have
fsi
in yourPATH
, you should be able to clone this repo, and just runfsi program.fsx
.The text was updated successfully, but these errors were encountered: