capybara/node/matchers.py
def has_none_of_selectors(self, selector, *locators, **kwargs):
        """
        Checks if none of the provided selectors are present on the given page or descendants of the
        current node. If options are provided, the assertion will check that each locator is present
        with those options as well (other than ``wait``). ::

            page.has_none_of_selectors("custom", "Tom", "Joe", visible="all")
            page.has_none_of_selectors("css", "#my_div", "a.not_clicked")

        It accepts all options that :meth:`find_all` accepts, such as ``text`` and ``visible``.

        The ``wait`` option applies to all of the selectors as a group, so none of the locators must
        be present with ``wait`` (defaults to :data:`capybara.default_max_wait_time`) seconds.

        If the given selector is not a valid selector, the first argument is assumed to be a locator
        and the default selector will be used.

        Args:
            selector (str, optional): The name of the selector to use. Defaults to
                :data:`capybara.default_selector`.
            *locators (str): Variable length list of locators.
            **kwargs: Arbitrary keyword arguments for :class:`SelectorQuery`.
        """

        return self.assert_none_of_selectors(selector, *locators, **kwargs)
def has_none_of_selectors(self, selector, *locators, **kwargs):
        """
        Checks if none of the provided selectors are present on the given page or descendants of the
        current node. If options are provided, the assertion will check that each locator is present
        with those options as well (other than ``wait``). ::

            page.has_none_of_selectors("custom", "Tom", "Joe", visible="all")
            page.has_none_of_selectors("css", "#my_div", "a.not_clicked")

        It accepts all options that :meth:`find_all` accepts, such as ``text`` and ``visible``.

        The ``wait`` option applies to all of the selectors as a group, so none of the locators must
        be present with ``wait`` (defaults to :data:`capybara.default_max_wait_time`) seconds.

        If the given selector is not a valid selector, the first argument is assumed to be a locator
        and the default selector will be used.

        Args:
            selector (str, optional): The name of the selector to use. Defaults to
                :data:`capybara.default_selector`.
            *locators (str): Variable length list of locators.
            **kwargs: Arbitrary keyword arguments for :class:`SelectorQuery`.
        """

        return self.assert_none_of_selectors(selector, *locators, **kwargs)
def has_none_of_selectors ( self , selector , * locators , * * kwargs ) : return self . assert_none_of_selectors ( selector , * locators , * * kwargs )
Checks if none of the provided selectors are present on the given page or descendants of the
        current node. If options are provided, the assertion will check that each locator is present
        with those options as well (other than ``wait``). ::

            page.has_none_of_selectors("custom", "Tom", "Joe", visible="all")
            page.has_none_of_selectors("css", "#my_div", "a.not_clicked")

        It accepts all options that :meth:`find_all` accepts, such as ``text`` and ``visible``.

        The ``wait`` option applies to all of the selectors as a group, so none of the locators must
        be present with ``wait`` (defaults to :data:`capybara.default_max_wait_time`) seconds.

        If the given selector is not a valid selector, the first argument is assumed to be a locator
        and the default selector will be used.

        Args:
            selector (str, optional): The name of the selector to use. Defaults to
                :data:`capybara.default_selector`.
            *locators (str): Variable length list of locators.
            **kwargs: Arbitrary keyword arguments for :class:`SelectorQuery`.
Checks if none of the provided selectors are present on the given page or descendants of the current node . If options are provided the assertion will check that each locator is present with those options as well ( other than wait ) . ::