find_tab_by_url method (broken).

anticaptcha
Pedro de Oliveira Guedes 2022-01-06 11:53:58 -03:00
parent babfb1c1cd
commit 71bdcbd26b
1 changed files with 19 additions and 1 deletions

View File

@ -287,4 +287,22 @@ class Chrome:
""" """
ret = self.__request_json_get__("/ipc/chrome/opentabs") ret = self.__request_json_get__("/ipc/chrome/opentabs")
return ret return ret
# ====================================== BROKEN ======================================
# def find_tab_by_url (self, url: str = "https://www.google.com/"):
# """
# ## Chrome Find Tab By Url
# Este método procura a url recebida entre as abas abertas no Google Chrome.
# ---
# #### Parâmetros:
# - url: Link que se deseja buscar entre as abas abertas.
# ---
# #### Retorna:
# -> ???
# """
# url = urllib.parse.quote(url, "")
# return self.__request_get__("/ipc/chrome/findtabbyurl/"+url)