Search code examples
javaseleniumbrowserselenium-chromedriverbackground-process

Unable to Maximize the Browser in Selenium When I run Selenium Scripts in background


Maximize code of selenium is not working when I run the script in Background. The Maximum size of the window will be 1036, 780. How browser window can be maximized in Background?


Solution

  • After Run Selenium Tests many times in the background I found that browsers will have given max and min sizes. - Max Size in Background (1036, 780) - Min Size in Background (415, 125)