Open vishuhanda opened 2 weeks ago
Hello , Could you try updating the browsermanager.ts file as below for maximize option
options: LaunchOptions = { headless: false, channel:'chrome', args:['--start-maximized'] }
If you still face any issue after the implementation of the above code please create a ticket via https://www.browserstack.com/contact with session details.
Hello , Could you try updating the browsermanager.ts file as below for maximize option
options: LaunchOptions = { headless: false, channel:'chrome', args:['--start-maximized'] }
If you still face any issue after the implementation of the above code please create a ticket via https://www.browserstack.com/contact with session details.
Actually we cant provide launchoptions as chromium is getting connected using wsEndpoint
vBrowser = await playwright.chromium.connect({ wsEndpoint:
wss://cdp.browserstack.com/playwright?caps=+
${encodeURIComponent(JSON.stringify(caps))}, }); vContext = await vBrowser.newContext({viewport:null}); } const vPage = await vContext.newPage();
However I have provided view port as null already but it didnt worked
please help
Hello , Could you try updating the browsermanager.ts file as below for maximize option
options: LaunchOptions = { headless: false, channel:'chrome', args:['--start-maximized'] }
If you still face any issue after the implementation of the above code please create a ticket via https://www.browserstack.com/contact with session details.
Do you have minimum repro script on github which does this...and launches in full screen in browserstack
I am trying to run tests in full size in browserstack using typescript Playwright but it is not getting launched .
have provided viewport as null while creating context and also provided args as start-maximized but still no success .
can anyone confirm of add some code in this boilerplate to run test cases on full screen in Browserstack
Thanks