Skip to content Skip to sidebar Skip to footer

Using Selenium Code With F# Canopy

I am attempting to use Selenium code with F#, I am also using the canopy wrapper. Canopy uses Selenium to make some of it's calls. My issue is I am struggling to covert Selenium c

Solution 1:

canopy has support for title built in

title() will return the title

http://lefthandedgoat.github.io/canopy/actions.html

The equivalent of driver in canopy is browser, which gives you the current active browser/driver.

To write the same code you have in f# it would be

printfn "Page title is: %s" title()

Post a Comment for "Using Selenium Code With F# Canopy"