Solution:
Step 1: Open Project Settings > Desired Capabilities > Web UI > Edge Chromium then set arguments as below:
-
Name: ms:edgeOptions Type: Dictionary Value: Click the Add button [..]
-
Name: ms:edgeChromium Type: Boolean Value: true

Step 2: Inside Value for Dictionary Property Builder
-
Name: args Type: List Value: Click the Add button [..]

Step 3: Inside Value for List Property Builder
-
Type: String Value: window-size=x,y
-
Note: x,y in the value above to your desired dimensions, for example, 1920,1080

Note: For other Desired Capabilities (maximize, incognito, etc…) we can do the same way


More information about Desired Capabilities: Introduction to Desired Capabilities
Comments
0 comments
Please sign in to leave a comment.