#If JAVA
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.support.ui.ExpectedConditions;
public static String FWOpen(String myLogin, String myPass, String driverLocation) {
System.setProperty("webdriver.chrome.driver", driverLocation);
ChromeDriver driver = new ChromeDriver();
driver.manage().window().setPosition(new org.openqa.selenium.Point(0, 4000));
driver.manage().window().setSize(new org.openqa.selenium.Dimension(1920, 1200));
WebDriverWait wait = new WebDriverWait(driver, 10);
//the rest of the code are just interactions with the browser
}
#End If