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

Jahangir Rana picture Jahangir Rana · Sep 20, 2017 · Viewed 10.2k times · Source

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 ?

Answer

iamsankalp89 picture iamsankalp89 · Sep 20, 2017

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