Maximize web browser window in TestLeft
Pls help. I'm new to TestLeft and I'm looking for a method in C# to maximize/assert a web browser window for the When and Then steps in the example below:
[Given(@"I have navigated to the google website")]
public void GivenIHaveNavigatedToTheGoogleWebsite()
{
IDriver driver = new SmartBear.TestLeft.LocalDriver();
IWebBrowser browser = driver.Applications.RunBrowser(BrowserType.Chrome, "https://google.com");
}
[When(@"I maximize the window")]
public void WhenIMaximizeTheWindow()
{
//driver.Applications.Browsers.;
}
[Then(@"the window should be maximized")]
public void ThenTheWindowShouldBeMaximized()
{
ScenarioContext.Current.Pending();
}
I have the same issue and I am not using the trial version of Bitbar. Could someone please take a look at the issue? Thank you.