driver.manage().window().maximize() issue with ChromeDriver 2.33
up vote
0
down vote
favorite
The release notes for ChromeDriver 2.33 says that ""Fixes a bug which caused Resizing/Positioning Window commands to fail on Chrome 62+" however this still seems to be an issue when i am using Chrome 62+ browser. Maximizing chrome window using chrome driver results in below exception. Does anyone know a solution please?
Another thing i noticed is, though i installed latest chromedriver (v2.33) from https://chromedriver.storage.googleapis.com/index.html?path=2.33/, the log printed below says Driver info: chromedriver=2.25.426923 !!
Exception in thread "main" org.openqa.selenium.WebDriverException:
unknown error: cannot get automation extension from unknown error:
page could not be found:
chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=62.0.3202.62) (Driver info:
chromedriver=2.25.426923
(0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT
10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
windows selenium selenium-chromedriver
add a comment |
up vote
0
down vote
favorite
The release notes for ChromeDriver 2.33 says that ""Fixes a bug which caused Resizing/Positioning Window commands to fail on Chrome 62+" however this still seems to be an issue when i am using Chrome 62+ browser. Maximizing chrome window using chrome driver results in below exception. Does anyone know a solution please?
Another thing i noticed is, though i installed latest chromedriver (v2.33) from https://chromedriver.storage.googleapis.com/index.html?path=2.33/, the log printed below says Driver info: chromedriver=2.25.426923 !!
Exception in thread "main" org.openqa.selenium.WebDriverException:
unknown error: cannot get automation extension from unknown error:
page could not be found:
chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=62.0.3202.62) (Driver info:
chromedriver=2.25.426923
(0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT
10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
windows selenium selenium-chromedriver
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The release notes for ChromeDriver 2.33 says that ""Fixes a bug which caused Resizing/Positioning Window commands to fail on Chrome 62+" however this still seems to be an issue when i am using Chrome 62+ browser. Maximizing chrome window using chrome driver results in below exception. Does anyone know a solution please?
Another thing i noticed is, though i installed latest chromedriver (v2.33) from https://chromedriver.storage.googleapis.com/index.html?path=2.33/, the log printed below says Driver info: chromedriver=2.25.426923 !!
Exception in thread "main" org.openqa.selenium.WebDriverException:
unknown error: cannot get automation extension from unknown error:
page could not be found:
chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=62.0.3202.62) (Driver info:
chromedriver=2.25.426923
(0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT
10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
windows selenium selenium-chromedriver
The release notes for ChromeDriver 2.33 says that ""Fixes a bug which caused Resizing/Positioning Window commands to fail on Chrome 62+" however this still seems to be an issue when i am using Chrome 62+ browser. Maximizing chrome window using chrome driver results in below exception. Does anyone know a solution please?
Another thing i noticed is, though i installed latest chromedriver (v2.33) from https://chromedriver.storage.googleapis.com/index.html?path=2.33/, the log printed below says Driver info: chromedriver=2.25.426923 !!
Exception in thread "main" org.openqa.selenium.WebDriverException:
unknown error: cannot get automation extension from unknown error:
page could not be found:
chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=62.0.3202.62) (Driver info:
chromedriver=2.25.426923
(0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT
10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
windows selenium selenium-chromedriver
windows selenium selenium-chromedriver
edited Oct 18 '17 at 3:27
HaC
491610
491610
asked Oct 18 '17 at 2:49
marjava
63
63
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36
add a comment |
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36
add a comment |
4 Answers
4
active
oldest
votes
up vote
2
down vote
There are exactly 2 issues.
As you mentioned, you have installed latest chromedriver (v2.33) but the log printed below says Driver info: chromedriver=2.25.426923, this issue must be addressed first. You can consider to manually kill all the dangling
chromedriver.exe
tasks from theTask Manager
. Additionally you can consider to useCCleaner
to wipe out all the rotten OS stuffs from your system. Take a system reboot if required. Finally ensure that what ever the absolute location ofchromedriver.exe
you are using withinSystem.setProperty()
ensure that the chromedriver binary is of version 2.33.
Finally, it is suggested to use
ChromeOptions
class tomaximize
the Web Browser as follows:
System.setProperty("webdriver.chrome.driver", "C:\your_directory\chromedriver.exe");
ChromeOptions opt = new ChromeOptions();
opt.addArguments("disable-infobars");
opt.addArguments("--start-maximized");
opt.addArguments("--disable-extensions");
WebDriver driver = new ChromeDriver(opt);
driver.get("https://google.com");
For the error
cannot get automation extension from unknown error
you can also refer to this QA/Discussion.
add a comment |
up vote
0
down vote
Use class ChromeOptions.
System.setProperty("webdriver.chrome.driver", "h:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
options.addArguments("--start-maximized");
WebDriver driver = new ChromeDriver(options);
driver.get(url);
add a comment |
up vote
0
down vote
I believe there were some old chrome driver processes running in backend and same were being picked up when it was invoked via code. I deleted all processes instances, deleted old version of chrome driver, added the new 2.33 version and it worked. Thanks all for your suggestions.
add a comment |
up vote
0
down vote
I think the reason behind it may be your chrome version. Try again with updating your chrome browser. I have faced this type of issues for compatibility between chrome browser & the driver
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
There are exactly 2 issues.
As you mentioned, you have installed latest chromedriver (v2.33) but the log printed below says Driver info: chromedriver=2.25.426923, this issue must be addressed first. You can consider to manually kill all the dangling
chromedriver.exe
tasks from theTask Manager
. Additionally you can consider to useCCleaner
to wipe out all the rotten OS stuffs from your system. Take a system reboot if required. Finally ensure that what ever the absolute location ofchromedriver.exe
you are using withinSystem.setProperty()
ensure that the chromedriver binary is of version 2.33.
Finally, it is suggested to use
ChromeOptions
class tomaximize
the Web Browser as follows:
System.setProperty("webdriver.chrome.driver", "C:\your_directory\chromedriver.exe");
ChromeOptions opt = new ChromeOptions();
opt.addArguments("disable-infobars");
opt.addArguments("--start-maximized");
opt.addArguments("--disable-extensions");
WebDriver driver = new ChromeDriver(opt);
driver.get("https://google.com");
For the error
cannot get automation extension from unknown error
you can also refer to this QA/Discussion.
add a comment |
up vote
2
down vote
There are exactly 2 issues.
As you mentioned, you have installed latest chromedriver (v2.33) but the log printed below says Driver info: chromedriver=2.25.426923, this issue must be addressed first. You can consider to manually kill all the dangling
chromedriver.exe
tasks from theTask Manager
. Additionally you can consider to useCCleaner
to wipe out all the rotten OS stuffs from your system. Take a system reboot if required. Finally ensure that what ever the absolute location ofchromedriver.exe
you are using withinSystem.setProperty()
ensure that the chromedriver binary is of version 2.33.
Finally, it is suggested to use
ChromeOptions
class tomaximize
the Web Browser as follows:
System.setProperty("webdriver.chrome.driver", "C:\your_directory\chromedriver.exe");
ChromeOptions opt = new ChromeOptions();
opt.addArguments("disable-infobars");
opt.addArguments("--start-maximized");
opt.addArguments("--disable-extensions");
WebDriver driver = new ChromeDriver(opt);
driver.get("https://google.com");
For the error
cannot get automation extension from unknown error
you can also refer to this QA/Discussion.
add a comment |
up vote
2
down vote
up vote
2
down vote
There are exactly 2 issues.
As you mentioned, you have installed latest chromedriver (v2.33) but the log printed below says Driver info: chromedriver=2.25.426923, this issue must be addressed first. You can consider to manually kill all the dangling
chromedriver.exe
tasks from theTask Manager
. Additionally you can consider to useCCleaner
to wipe out all the rotten OS stuffs from your system. Take a system reboot if required. Finally ensure that what ever the absolute location ofchromedriver.exe
you are using withinSystem.setProperty()
ensure that the chromedriver binary is of version 2.33.
Finally, it is suggested to use
ChromeOptions
class tomaximize
the Web Browser as follows:
System.setProperty("webdriver.chrome.driver", "C:\your_directory\chromedriver.exe");
ChromeOptions opt = new ChromeOptions();
opt.addArguments("disable-infobars");
opt.addArguments("--start-maximized");
opt.addArguments("--disable-extensions");
WebDriver driver = new ChromeDriver(opt);
driver.get("https://google.com");
For the error
cannot get automation extension from unknown error
you can also refer to this QA/Discussion.
There are exactly 2 issues.
As you mentioned, you have installed latest chromedriver (v2.33) but the log printed below says Driver info: chromedriver=2.25.426923, this issue must be addressed first. You can consider to manually kill all the dangling
chromedriver.exe
tasks from theTask Manager
. Additionally you can consider to useCCleaner
to wipe out all the rotten OS stuffs from your system. Take a system reboot if required. Finally ensure that what ever the absolute location ofchromedriver.exe
you are using withinSystem.setProperty()
ensure that the chromedriver binary is of version 2.33.
Finally, it is suggested to use
ChromeOptions
class tomaximize
the Web Browser as follows:
System.setProperty("webdriver.chrome.driver", "C:\your_directory\chromedriver.exe");
ChromeOptions opt = new ChromeOptions();
opt.addArguments("disable-infobars");
opt.addArguments("--start-maximized");
opt.addArguments("--disable-extensions");
WebDriver driver = new ChromeDriver(opt);
driver.get("https://google.com");
For the error
cannot get automation extension from unknown error
you can also refer to this QA/Discussion.
edited Oct 18 '17 at 9:46
answered Oct 18 '17 at 6:14
DebanjanB
36.7k73372
36.7k73372
add a comment |
add a comment |
up vote
0
down vote
Use class ChromeOptions.
System.setProperty("webdriver.chrome.driver", "h:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
options.addArguments("--start-maximized");
WebDriver driver = new ChromeDriver(options);
driver.get(url);
add a comment |
up vote
0
down vote
Use class ChromeOptions.
System.setProperty("webdriver.chrome.driver", "h:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
options.addArguments("--start-maximized");
WebDriver driver = new ChromeDriver(options);
driver.get(url);
add a comment |
up vote
0
down vote
up vote
0
down vote
Use class ChromeOptions.
System.setProperty("webdriver.chrome.driver", "h:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
options.addArguments("--start-maximized");
WebDriver driver = new ChromeDriver(options);
driver.get(url);
Use class ChromeOptions.
System.setProperty("webdriver.chrome.driver", "h:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
options.addArguments("--start-maximized");
WebDriver driver = new ChromeDriver(options);
driver.get(url);
answered Oct 18 '17 at 4:58
AutomationEngineer
245
245
add a comment |
add a comment |
up vote
0
down vote
I believe there were some old chrome driver processes running in backend and same were being picked up when it was invoked via code. I deleted all processes instances, deleted old version of chrome driver, added the new 2.33 version and it worked. Thanks all for your suggestions.
add a comment |
up vote
0
down vote
I believe there were some old chrome driver processes running in backend and same were being picked up when it was invoked via code. I deleted all processes instances, deleted old version of chrome driver, added the new 2.33 version and it worked. Thanks all for your suggestions.
add a comment |
up vote
0
down vote
up vote
0
down vote
I believe there were some old chrome driver processes running in backend and same were being picked up when it was invoked via code. I deleted all processes instances, deleted old version of chrome driver, added the new 2.33 version and it worked. Thanks all for your suggestions.
I believe there were some old chrome driver processes running in backend and same were being picked up when it was invoked via code. I deleted all processes instances, deleted old version of chrome driver, added the new 2.33 version and it worked. Thanks all for your suggestions.
answered Nov 14 '17 at 2:53
marjava
63
63
add a comment |
add a comment |
up vote
0
down vote
I think the reason behind it may be your chrome version. Try again with updating your chrome browser. I have faced this type of issues for compatibility between chrome browser & the driver
add a comment |
up vote
0
down vote
I think the reason behind it may be your chrome version. Try again with updating your chrome browser. I have faced this type of issues for compatibility between chrome browser & the driver
add a comment |
up vote
0
down vote
up vote
0
down vote
I think the reason behind it may be your chrome version. Try again with updating your chrome browser. I have faced this type of issues for compatibility between chrome browser & the driver
I think the reason behind it may be your chrome version. Try again with updating your chrome browser. I have faced this type of issues for compatibility between chrome browser & the driver
answered Nov 6 at 9:33
Poulami
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46802051%2fdriver-manage-window-maximize-issue-with-chromedriver-2-33%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
So what is you question exactly?
– Sand
Oct 18 '17 at 3:28
Does anyone know a solution for this? Unable to maximise browser with mentioned versions of driver and chrome.
– marjava
Oct 18 '17 at 3:33
So this is happening when you want to maximize the browser are you writing a program or is there any code base that prompt this problem?
– Sand
Oct 18 '17 at 3:35
You have multiple versions of chromedriver on your system. Get rid of the 2.25 one and it should work
– Lucas Tierney
Oct 18 '17 at 3:36