简体   繁体   中英

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

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'

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM