Skip to content

Commit

Permalink
Add gecko driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Nov 17, 2016
1 parent 91cc6bb commit 1100929
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/basictests/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ context "User Agents tests"

context "Resize tests"

"Firefox should be resized to 400,400" &&& fun _ ->
"Firefox should be resized to 400,400" &&! fun _ ->
start firefox
url "http://resizemybrowser.com/"
resize (400,400)
Expand All @@ -700,7 +700,7 @@ context "Resize tests"
quit browser
switchTo mainBrowser

"Chrome should be resized to iPhone4" &&& fun _ ->
"Chrome should be resized to iPhone4" &&! fun _ ->
start chrome
url "http://resizemybrowser.com/"
resize screenSizes.iPhone4
Expand All @@ -709,7 +709,7 @@ context "Resize tests"
quit browser
switchTo mainBrowser

"Firefox should be resized to 400,500 then rotated to 500,400" &&& fun _ ->
"Firefox should be resized to 400,500 then rotated to 500,400" &&! fun _ ->
start firefox
url "http://resizemybrowser.com/"
resize (400,500)
Expand All @@ -719,7 +719,7 @@ context "Resize tests"
quit browser
switchTo mainBrowser

"Chrome should be resized and rotated to iPhone4" &&& fun _ ->
"Chrome should be resized and rotated to iPhone4" &&! fun _ ->
start chrome
url "http://resizemybrowser.com/"
resize screenSizes.iPhone4
Expand Down
4 changes: 4 additions & 0 deletions tests/basictests/basictests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
<Compile Include="Program.fs" />
<None Include="app.config" />
<None Include="paket.references" />
<None Include="geckodriver.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib" />
Expand Down
Binary file added tests/basictests/geckodriver.exe
Binary file not shown.

0 comments on commit 1100929

Please sign in to comment.