Dear Community,
I am currently facing an issue in my automation process due to an embedded Google Maps component, where I need to select a specific address.
I have attempted enabling and setting specific coordinates, but these approaches have not resolved the problem.
I have attached the URL of the webpage and a screenshot illustrating how the map should be displayed. Any guidance or recommendations on how to proceed would be greatly appreciated.
URL
Code
*** Settings ***
Library SeleniumLibrary
*** Variables ***
${BROWSER} safari
${URL} SafeQ
*** Test Cases ***
Abrir Página con JavaScript Activado
Open Browser about:blank ${BROWSER} options=add_argument(“–enable-javascript”)
Maximize Browser Window
# Inyectar un script para asegurarse de que JavaScript está activado
Execute JavaScript return navigator.javaEnabled();
# Cargar la página
Go To ${URL}
Sleep 15s
# Esperar hasta que la página termine de cargar
Wait Until Page Contains Element css=body timeout=10s
# Validar que Google Maps se cargĂł correctamente
Wait Until Keyword Succeeds 5x 30s Verificar Carga de Google Maps
Close Browser
*** Keywords ***
Verificar Carga de Google Maps
${maps_cargado} = Execute JavaScript return typeof google !== “undefined” && typeof google.maps !== “undefined”;
Should Be True ${maps_cargado} Google Maps no se ha cargado aún, reintentando…
Best regards,