I use behave python lib to create a bdd test suite. I have following step implementation:
@given(u"open new window")
def step_impl(context):
context.browser.execute_script("window.open()")
The problem is that in Notion tiling manager firefox webdriver crashes during attempt to open new window. No such problem in gnome.
If I run firefox as regular without behave — javascript's window.open()
creates a new tab without crashing.
Please help. I don't want to abandon Notion.