but in those scenarios i normally detect by execut...
# suitescript
p
but in those scenarios i normally detect by executionContext, not by checking if window exists.