Dec-11-2022, 06:25 AM
(This post was last modified: Dec-11-2022, 06:25 AM by deanhystad.)
There is no function named getby. class Browser has a method named getby. You can call this method using Browser.getby(browser_instance, locator_type), or use the more common syntax browser_instance.getby(locator_type). In your particular case you have a handy browser instance named "self" (use self.getby(find_by)).