I am Automating a web page for registering user info. That page requires t enter address in the Input box, then Google map will list down the correct address. I have to choose the google map address. How to do this in selenium. Here is the image of the function.
Here is my Code in Selenium - Java.
public void signup() throws InterruptedException {
driver.get("https://app.getjarvis.com.au/sign-up");
driver.manage().window().setSize(new Dimension(801, 721));
driver.findElement(By.id("addressInput")).click();
driver.findElement(By.id("addressInput")).click();
driver.findElement(By.id("addressInput")).sendKeys("Indian Drive, Keysborough VIC, Australia");
Thread.sleep(3000);
Select drpdwn = new Select(driver.findElement(By.id("addressInput")));
drpdwn.selectByVisibleText("Indian Drive, Keysborough VIC, Australia");