Any suggestions for the root cause of this error while running behave BDD tests

462 Views Asked by At

While trying to run some BDD behave Tests from my local mac machine I encountered the following error. Has anyone else experienced it and any suggestions to fix it.

HOOK-ERROR in before_all: KeyError: 'SELENIUM_HUB'
1

There are 1 best solutions below

0
philomath On

Fixed the issue by passing the missing keys (user defined arguments in the form of -D Name=Value) at command line while running the behave tests as $ behave -D SELENIUM_HUB=local