How to use __add_shepherd_tour_step method in SeleniumBase

Best Python code snippet using SeleniumBase

base_case.py

Source:base_case.py Github

copy

Full Screen

...887 self.__add_introjs_tour_step(888 message, selector=selector, name=name, title=title,889 alignment=alignment)890 else:891 self.__add_shepherd_tour_step(892 message, selector=selector, name=name, title=title,893 theme=theme, alignment=alignment)894 def __add_shepherd_tour_step(self, message, selector=None, name=None,895 title=None, theme=None, alignment=None):896 """ Allows the user to add tour steps for a website.897 @Params898 message - The message to display.899 selector - The CSS Selector of the Element to attach to.900 name - If creating multiple tours at the same time,901 use this to select the tour you wish to add steps to.902 title - Additional header text that appears above the message.903 theme - (NON-Bootstrap Tours ONLY) The styling of the tour step.904 Choose from "light"/"arrows", "dark", "default", "square",905 and "square-dark". ("arrows" is used if None is selected.)906 alignment - Choose from "top", "bottom", "left", and "right".907 ("top" is the default alignment).908 """...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run SeleniumBase automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful