python – attribute and traceback call error running behave

working in ubuntu instance
installed python 3.7.8
installed pip3
installed virtual environment
behave web driver
chrome driver

while running the feature files
showing me errors
Exception Attribute Error: ‘Options’ object has no attribute ‘arguments’
Traceback (most recent call last):
File “/home/ubuntu/v/bin/behave”, line 8, in
sys exit(main())
File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 183, in main
return run behave(config) File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 127, in run behave
failed = runner run()
File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 804, in run
return self run with paths()
File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 808, in run with paths
self. load hooks()
File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 784, in load hooks
exec file(hooks path, self hooks)
File “/home/ubuntu/v/lib/python3.8/site-packages/behave/”, line 386, in exec file
exec(code, global , locals_)
File “x/features/”, line 2, in
from core environment import behave driver, launch Browser, close Browser
File “/home/ubuntu/core/”, line 19, in
options arguments(“–no-sandbox”,”–headless”);
Attribute Error: ‘Options’ object has no attribute ‘arguments’

Product of the Month September 2016

Source link

Leave a Comment

Your email address will not be published. Required fields are marked *