Behat Multiple Windows: invalid argument: 'handle' must be a string

Query: Thanks so much for your explication. For my case i've to witch to a new Window not a new tab. By doing those steps i've got the same error that says `invalid argument: 'handle' must be a string`. Any idea to handle this?

Source: ProgramsBuzz Youtube Channel

Video Title: Behat: How to handle multiple windows or switch between two windows

Video URL: https://youtu.be/svSsgIqCmCc

User: Zakaria Azaraf

Try after setting w3c to false.


capabilities:
    extra_capabilities:
        chromeOptions:
            args:
                - "--start-fullscreen"
            w3c: false

After certain chrome version this error reoccurs setting w3c capability to false might help.