Skip to content

Commit

Permalink
fixes issue with textarea assert
Browse files Browse the repository at this point in the history
  • Loading branch information
skalinets committed Jun 6, 2013
1 parent 767adac commit 76cea18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions canopy/canopy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ let private textOf (element : IWebElement) =
match element.TagName with
| "input" ->
element.GetAttribute("value")
| "textarea" ->
element.GetAttribute("value")
| "select" ->
let value = element.GetAttribute("value")
let options = Seq.toList (element.FindElements(By.TagName("option")))
Expand Down

0 comments on commit 76cea18

Please sign in to comment.