diff --git a/py/docs/source/api.rst b/py/docs/source/api.rst index 0451f6bd6e3bd..898ac449ce940 100644 --- a/py/docs/source/api.rst +++ b/py/docs/source/api.rst @@ -49,34 +49,10 @@ webdriver.common :toctree: selenium_webdriver_common selenium.webdriver.common.action_chains - selenium.webdriver.common.actions.action_builder - selenium.webdriver.common.actions.input_device - selenium.webdriver.common.actions.interaction - selenium.webdriver.common.actions.key_actions - selenium.webdriver.common.actions.key_input - selenium.webdriver.common.actions.mouse_button - selenium.webdriver.common.actions.pointer_actions - selenium.webdriver.common.actions.pointer_input - selenium.webdriver.common.actions.wheel_actions - selenium.webdriver.common.actions.wheel_input selenium.webdriver.common.alert - selenium.webdriver.common.bidi.browser - selenium.webdriver.common.bidi.browsing_context - selenium.webdriver.common.bidi.cdp - selenium.webdriver.common.bidi.common - selenium.webdriver.common.bidi.console - selenium.webdriver.common.bidi.log - selenium.webdriver.common.bidi.network - selenium.webdriver.common.bidi.permissions - selenium.webdriver.common.bidi.script - selenium.webdriver.common.bidi.session - selenium.webdriver.common.bidi.storage - selenium.webdriver.common.bidi.webextension selenium.webdriver.common.by selenium.webdriver.common.desired_capabilities selenium.webdriver.common.driver_finder - selenium.webdriver.common.fedcm.account - selenium.webdriver.common.fedcm.dialog selenium.webdriver.common.keys selenium.webdriver.common.log selenium.webdriver.common.options @@ -119,6 +95,7 @@ webdriver.common.bidi selenium.webdriver.common.bidi.cdp selenium.webdriver.common.bidi.common selenium.webdriver.common.bidi.console + selenium.webdriver.common.bidi.emulation selenium.webdriver.common.bidi.log selenium.webdriver.common.bidi.network selenium.webdriver.common.bidi.permissions diff --git a/py/generate_api_module_listing.py b/py/generate_api_module_listing.py index 90408f823a86f..638df7782843a 100644 --- a/py/generate_api_module_listing.py +++ b/py/generate_api_module_listing.py @@ -82,7 +82,8 @@ def find_modules(package_name): ) for module in modules: if base_module in module: - f.write(f" {module}\n") + if len(module.split(".")) - len(base_module.split(".")) == 1: + f.write(f" {module}\n") f.write( """ Indices and tables