Chrome Windows are not maximize in grid node

21 views
Skip to first unread message

Rahul R

unread,
May 4, 2021, 10:54:04 AM5/4/21
to Selenium Users
Issue: Chrome windows are not maximise when RDP connection is not established

Issue is observing only when executing in Selenium grid.
No issue observed when we run the scripts locally , or if i logged into that node when the scripts is running, but when I close that node, and start the script, then window size would remain small and couldn't find webElement

Chrome version 89.0.4389.82
selenium-server-standalone-3.141.59
Node Machine: Win 10

What we tried
Dimension dimension = new Dimension(1920,1080) driver.manage().window().setSize(dimension); driver.manage().window().maximize() options.addArguments("--window-size=1920,1080"); options.addArguments("--start-maximized");

Could anyone please advice on this issue

Reply all
Reply to author
Forward
0 new messages