changing default download location in chrome using Python selenium
<p>I want to download files into a desired location in chrome using python selenium.however,i am not getting any idea.our framework uses mozwebqa.
how do i change the properties to download files to my desired location.</p>

<p>Just a sample code</p>

<pre><code>   @pytest.fixture()
def preparation (self, request, mozwebqa):
    openyaml = open("desired txt file")
    testdata = yaml.load(openyaml)
    openyaml.close()
    self.sample = testdata['abc']

def test_sampletest(self, mozwebqa, preparation):
    homepage = basePage(mozwebqa).homepage()
    homepage.login()
</code></pre>

<p>please help, where to set the preference for downloading files to my desired location.</p>