Setup Menus in Admin Panel

Day06-Execution terminating after driver.manage().window().maximize(); for chrome driver | Selenium Automation | Discussions |

Forum usage guidelines

  1. Search First.: If you don’t find a similar post, start a new topic. If you find a similar thread and still have a question, reply to that topic. Duplicate threads will be ignored/deleted without warning.
  2. Proper Subject: Ensure you choose a very appropriate topic name. Else it will be tough to get support from other members.
  3. Patience, please: Our Tech team or other members will usually try to respond within 24 hours on weekdays and max within 48 hours on weekends. Sometimes sooner.
  4. Share opinions: Please feel free to reply, add or comment on any ongoing topics. Collective learning will be of great benefit to all.

ITeLearn reviews from participants.

Please consider registering

Log In

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Day06-Execution terminating after driver.manage().window().maximize(); for chrome driver
April 16, 2017
4:44 am
Madhura Kulkarni
Forum Posts: 3
Member Since:
March 22, 2017

With Chrome driver , when test is run , execution is terminated after Line No – 23 – .

Below is Code –

import org.openqa.selenium.WebDriver;

public class Day6Practice {

private static WebDriver driver ;
private static String baseurl ;

public static void main(String[] args) throws Exception {

// TODO Auto-generated method stub
System.setProperty(“”,”D:\\Selenium Web Driver\\chromedriver.exe”);

//Initialize driver and base url

driver = new ChromeDriver();

//open the browser window

//Maximize browser Window

//Get the current browser Title
String browserTitle = driver.getTitle();
System.out.println(“The current Page Title is: ” + browserTitle);

//Refresh the browser window
driver.navigate().to(“”); // Navigates to URL.



Exception as Below –

at Day6Practice.main(

April 19, 2017
9:20 am
Forum Posts: 1889
Member Since:
October 26, 2012

I dont see any issue in code, please check if you have latest jar files

Forum Timezone: UTC -8

Most Users Ever Online: 70

Currently Online: Syed Gillani
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Techhelp: 1889

Manu: 114

Shan Nathan: 80

Palanki sai charan: 67

Userone: 59

Vishal Anand: 53

Archana Sapre: 51

Geetha Reddy: 44

useL: 38

Priyanka Perumalla: 36

Member Stats:

Guest Posters: 19

Members: 7846

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 22

Topics: 2064

Posts: 5695

Newest Members: Syed Gillani, Naga Venkata Yerramsetti, Amulya Rajendran, kiran pujar, Anupama Odnala, Hitesh Shah, Jaya Vysyaraju, Md Payel Miah, Ashwini Yerra, Jennifer Manual

Administrators: Karthik eLearn (Admin): 49

0 Responses on Discussions"

Main Menu