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

Viewed 10296

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 ?

3 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

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.

Related