Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"unable to connect to renderer" : Unable to resize or maximize the browser window using protractor with chrome beta

I am using Protractor and jasmine.

I have Identified that chrome driver version: 2.32.498550 (latest) is not compatible with the chrome beta (Version 62.0.3202.18 (Official Build)).

It breaks when the statements like

browser.driver.manage().window().maximize()

or

browser.driver.manage().window().getSize()

of the browser windows gets executed.

Can any one help me with this ?

like image 628
Jahangir Rana Avatar asked Sep 20 '17 11:09

Jahangir Rana


2 Answers

Try this :

var width_size = 1024;
var height_size = 786;
browser.driver.manage().window().setSize(width_size , height_size );

Latest chromedriver does not support Latest chrome version, it support till chrome 61

See this link: http://chromedriver.storage.googleapis.com/2.32/notes.txt

It is issue of chromedriver

like image 60
iamsankalp89 Avatar answered Oct 17 '22 01:10

iamsankalp89


Update your ChromeDriver version to 2.33 (e.g. using NuGet). You may have to end all running chromedriver.exe processes to get a successful build.

There was a bug in version 2.32 that caused resizing to fail for Chrome version 62. See this answer.

like image 33
Hans Vonn Avatar answered Oct 17 '22 02:10

Hans Vonn