title: loop to repeat selenium scripts in python
body: <p>I need to write a loop witch changes input data from <strong>config.ini</strong> while works every time</p>
  <p>Here are these selenium scripts which should repeat:</p>
  <pre><code>        def repScrpt(self):
  
              self.browser.find_element_by_xpath('//*[@id=&quot;SSW_WORKFRAMES_CONTAINER&quot;]/div/div/div/ps-tabs/div[2]/ps-tab[1]/div/div/ps-toolbar/ps-button[3]').click()
  
              self.browser.find_element_by_xpath(changingInput).click()
  
              self.browser.find_element_by_xpath('//*[@id=&quot;addServiceButtons&quot;]/div/ps-button[1]').click()
              
              self.browser.find_element_by_xpath('//*[@id=&quot;SSW_WORKFRAMES_CONTAINER&quot;]/div/div/div/ps-tabs/div[2]/ps-tab[1]/div/div/div/ps-splitter/ps-splitter-zone[2]/div/div/div/div/ps-tabs/div[2]/ps-tab[1]/div[1]/div[2]/ps-button[1]').click()
  
  </code></pre>
  <p>Need help to write the loop for this function, hence I<code>m not even Junior it</code>s hard to me</p>