I have WebDriver and am using Java.
In C# with WatiN I was able to write something like this:
Method
Browser browser = new Browser()
This is where what I would do with the browser would go. Like navigating to the URL
Then I would create a test method and actually define the browser
[TestMethod]
Method_IE
Method(new IE());
Is there anyway to do something like this in Eclipse with WebDriver?
We came up with something pretty simple for use in the page object model.
Your IDE shouldnt matter at all as long as you specify the class in your source.