Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
While analyzing the code of POM using codacy hitting with one of the critical issues i.e. too many arguments for format string in page_objects/Base_Page.py (line 461).
Cause for the issue:
The format string is unable to split the locator-'%s' in the conf/locators.conf file, which contains only one %s format specifier. However, we are passing two values to the format string in the parentheses, locator[0] and locator[1].
Fixing the issue:
Modifying the format string to include a second %s format specifier