code: def __add_bootstrap_tour_step(self, message, selector=None, name=None,
                                    title=None, alignment=None, duration=None):
          
          if selector != "html":
              selector = self.__make_css_match_first_element_only(selector)
              element_row = "element: '%s'," % selector
          else:
              element_row = ""
          if not duration:
              duration = "0"
          else:
              duration = str(float(duration) * 1000.0)
  
          step = ("""{
                  %s
                  title: '%s',
                  content: '%s',
                  orphan: true,
                  placement: 'auto %s',
                  smartPlacement: true,
                  duration: %s,
                  },""" % (element_row, title, message, alignment, duration))
  
          self._tour_steps[name].append(step)
docs: Allows the user to add tour steps for a website.
              @Params
              message - The message to display.
              selector - The CSS Selector of the Element to attach to.
              name - If creating multiple tours at the same time,
                     use this to select the tour you wish to add steps to.
              title - Additional header text that appears above the message.
              alignment - Choose from "top", "bottom", "left", and "right".
                          ("top" is the default alignment).
              duration - (Bootstrap Tours ONLY) The amount of time, in seconds,
                         before automatically advancing to the next tour step.