How do I pass Chrome options in Python?

How do I pass Chrome options in Python? I am using Pytest.

Hey NoahSmith,

You can pass chrome options with Pytest as given below:

def chrome_options(chrome_options):
    chrome_options.binary_location = '/path/to/chrome'
    return chrome_options