Attempting to adjust the size of the browser window using the following JavaScript code:
driver.get(url);
driver.manage().window().setSize(1200,800);
Encountering an error message:
'setSize is not a function\n'.
Seeking assistance in resolving this issue, I have also attempted using reSizeTo()