This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Diagnostics; | |
| public class DefaultPageObject : LoadableComponent<DefaultPageObject> | |
| { | |
| readonly IWebDriver driver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // <copyright file="SlowLoadableComponent.cs" company="WebDriver Committers"> | |
| // Copyright 2007-2011 WebDriver committers | |
| // Copyright 2007-2011 Google Inc. | |
| // Portions copyright 2011 Software Freedom Conservancy | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //You'll have to run this example in LinqPad as a C# program. | |
| //Or put a class around the two global methods and change .Dump() calls to Console.WriteLine | |
| void Main() | |
| { | |
| var frm = new Form1(); | |
| frm.Controls[0].KeyPress += keypressed_inMain; | |
| frm.ShowDialog(); | |
| } |
NewerOlder