Skip to content

Commit ad1b9b0

Browse files
committed
Fixed to Lesson 42.
1 parent fa2ca64 commit ad1b9b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/code-listings/lesson-42.fsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ click ".cart-button"
1313
click ".btn-primary"
1414

1515
"#email" << "[email protected]"
16-
last ".btn-primary" |> click
16+
elements ".btn-primary" |> Seq.find(fun e -> e.Text = "checkout as a guest") |> click
1717

18+
"#country" << "United States"
1819
"#firstName" << "Fred"
1920
"#lastName" << "Smith"
2021
"#company" << "Super F# Developers Ltd."
2122
"#address1" << "23 The Street"
2223
"#address2" << "The Town"
2324
"#city" << "The City"
24-
"#freeformState" << "ABC"
25+
"#USStateSelector" << "CA"
2526
"#zip" << "90210"
2627
"#addressPhone" << "0800 123 456"
2728

0 commit comments

Comments
 (0)