I tried to use the tutorial example but on Mac I always get the new window behind the Terminal, so if I run python tutorial.py, the browser windows is always behind the terminal and without any focus.
This is a normal behavior or do we have any way to manage this and bring the window to the top?
from AppKit import NSApp
NSApp.activateIgnoringOtherApps_(True)
NSApp docs: https://developer.apple.com/reference/appkit/nsapplication
NSApp.activateIgnoringOtherApps_(True) call should fix the inactive window issue in hello_world and tutorial examples.