Open JanVokroj opened 1 year ago
Hi @JanVokroj, I've added this to our internal backlog for investigation.
Does the same issue happen when using headless=new with Chrome and ChromeDriver?
Hello @bwalderman. Yes, it happens also with Chrome and ChromeDriver when headless=new . But solved for now by setting scale to 0.5. To run it on virtual machine we are using remote session ( winrm ). Which is non graphic, has resolution always 1024*768 and it's not possible to change it from that session. So I think it might be related since headless=new share implementation with non headless mode. And classic browser usually cannot have higher size that screen resolution.
When I start edgedriver on Hyper-V virtual machine with headless=new. Created screenshot has always fixed ( and pretty small ) size. Tests are obviously also running on small screen size.
No matter what settings I use I'm not able to change window size or maximize window in headless=new. With headless=old, set size works, but then I'm not able to download files. Virtual machine has graphic driver
Microsoft Hyper-V Video
On my local machine headless=new works fine EdgeDriver : 111.2.1661.54
AB#44304868