Chris Holt

Results 67 comments of Chris Holt

@olivercoad ``` let pinToMonitor n = let n' = if n < 1 then 1 else n if System.Windows.Forms.SystemInformation.MonitorCount >= n' then let workingArea = System.Windows.Forms.Screen.AllScreens.[n'-1].WorkingArea browser.Manage().Window.Position

@jamessdixon Since you are using f# you dont have to fully qualify all of your functions. The code snippet on this page will get you part way there: http://lefthandedgoat.github.io/canopy/ ```...

Also here is another thread that may help you. https://github.com/lefthandedgoat/canopy/issues/457

Something like ``` let marketCap = read "[data-test='MARKET_CAP-value'] span" ``` from: https://lefthandedgoat.github.io/canopy//Docs/actions.html canopy lets you use xpath/css/jquery selectors by default. You can use `$$("valid css selector")` in chrome dev tools...

It says 'Timed out!' because selenium is trying to click it but it can't because its obstructed by your floating header. There are several ways to solve it, you can...

Unsure, I must have dropped the ball on this. @amirrajan

Without seeing the html I can only guess. I bet that inside the h2 there is a div or span or some other element that actually contains the value of...

Hmm, next guess would be that you are using `===` instead of `==`, the triple = does not do any retries, its like a normal unit test assertion for equality....