Unable to change window focus in BrowserStack

I am attempting to test commence checkout with PayPal. It is a situation where you click a PayPal button and it spawns a PayPal checkout popup window. When executing my test I am able to have Katalon switch to that window when testing locally. However, when I execute the test with BrowserStack I am given the following error:

Change window focus

4294967339

name

4294967339

⇒Missing ‘handle’ parameter

I am using the Switch To Window Index action WebUI.switchToWindowIndex(0) and this works without issue on my local machine. I have tried to locate what this “handle” parameter is supposed to be but cannot find anything.

Any assistance on this would be great.

1 Like