'We have @FindBys and @FindAll in Selenium Java, how to use same code to find locators in Python

We have @FindBys and @FindAll in Selenium Java, how to use same code to find locators in Python?

@FindBys( { @FindBy(className = "class1") @FindBy(className = "class2")} )

Please guide me someone.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source